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
1 cd ~/tmp/
2 mkdir AlpineTest
3 cd AlpineTest/
4 docker build -t env-docker-alpine-image .
5 docker run -p 8081:8081 -d -it --rm --name env-docker-alpine-container --mount type=bind,source="$(pwd)",target=/app env-docker-alpine-image
6 docker exec -it env-docker-alpine-container sh
Dockerfile
1 FROM alpine:3.12
2 RUN apk add --update --no-cache python3 curl wget nano vim
3 CMD ["cat"]
Alpine (last edited 2021-11-27 20:37:30 by localhost)