Size: 458
Comment:
|
Size: 899
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 14: | Line 14: |
== Virtualbox == | == Docker == {{{#!highlight bash cd ~/tmp/ mkdir AlpineTest cd AlpineTest/ docker build -t env-docker-alpine-image . docker run -p 8081:8081 -d -it --rm --name env-docker-alpine-container --mount type=bind,source="$(pwd)",target=/app env-docker-alpine-image docker exec -it env-docker-alpine-container sh }}} === Dockerfile === {{{#!highlight bash FROM alpine:3.15 RUN apk add --update --no-cache python3 curl wget nano vim CMD ["cat"] }}} |
Alpine
Alpine Linux is a security-oriented, lightweight Linux distribution based on musl libc and busybox.
ISO size is 125MB.
Commands
- apk update # update package list/db
- apk search # show available packages
- apk info # show installed packages
Docker