MoinMoin Logo
  • Comments
  • Immutable Page
  • Menu
    • Navigation
    • RecentChanges
    • FindPage
    • Local Site Map
    • Help
    • HelpContents
    • HelpOnMoinWikiSyntax
    • Display
    • Attachments
    • Info
    • Raw Text
    • Print View
    • Edit
    • Load
    • Save
  • Login

Navigation

  • Start
  • Sitemap
Revision 16 as of 2024-07-26 21:29:49
  • Alpine

Alpine

  • https://alpinelinux.org/

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

  • https://alpinelinux.org/downloads/

  • http://dl-cdn.alpinelinux.org/alpine/v3.12/releases/x86_64/alpine-standard-3.12.1-x86_64.iso

  • https://dl-cdn.alpinelinux.org/alpine/v3.15/releases/x86_64/alpine-standard-3.15.0-x86_64.iso

  • https://dl-cdn.alpinelinux.org/alpine/v3.20/releases/x86_64/alpine-standard-3.20.2-x86_64.iso

  • https://wiki.alpinelinux.org/wiki/Installation

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 apk add --update --no-cache openjdk21 # install openjdk21
   5 

Docker

   1 cd ~
   2 mkdir -p ~/tmp/AlpineTest
   3 cd AlpineTest/
   4 echo -e "FROM alpine:3.20.2\nRUN apk add --update --no-cache python3 curl wget nano vim py3-pip\nCMD [\"cat\"]" > Dockerfile
   5 docker build -t env-docker-alpine-image . 
   6 docker run -p 8081:8081 -d -it --rm --name env-docker-alpine-container --mount type=bind,source="$(pwd)",target=/app env-docker-alpine-image
   7 docker exec -it env-docker-alpine-container sh
   8 docker stop env-docker-alpine-container 
   9 docker system prune -a --volumes

Dockerfile

   1 FROM alpine:3.20.2
   2 RUN apk add --update --no-cache python3 curl wget nano vim py3-pip
   3 CMD ["cat"]
  • MoinMoin Powered
  • Python Powered
  • GPL licensed
  • Valid HTML 4.01