Alpine

Alpine Linux is a security-oriented, lightweight Linux distribution based on musl libc and busybox.

ISO size is 125MB.

Apk commands

   1 apk update # update package list/db
   2 apk search # show available packages
   3 apk info # show installed packages
   4 

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.16
   2 RUN apk add --update --no-cache python3 curl wget nano vim py3-pip
   3 CMD ["cat"]

Alpine (last edited 2023-05-31 11:53:22 by 127)