Docker image of Linux alpine which includes the following packages
alpine 3.14
awscli 2.2.0
bash 5.1
curl 7.79
docker 20.10
git 2.32
jq 1.6
openssh 8.6
zip 3.0
awscli 2.4.13
openssl 1.1.1
docker_file_path /opt/alpineci_version
docker run --entrypoint busybox --rm alpine:3.12 --list
Run the latest release
docker run --rm -it unfor19/alpine-ci
Run a specific release
RELEASE_TAG="master-f92a0197"
docker run "unfor19/alpine-ci:${RELEASE_TAG}"
Use as a base image in a Dockerfile
ARG ALPINECI_TAG
FROM unfor19/alpine-ci:${ALPINECI_TAG} as base
# Do your "build" stuff ...
WORKDIR /code/
RUN curl -s https://catfact.ninja/fact | jq -r .fact > fact.txt
# Use Docker multi-stage
FROM ubuntu:20.04 as app
WORKDIR /app/
COPY --from=base /code/* /app/
CMD find -type f -name *.txt -exec cat {} \;
Build your image
ALPINECI_TAG="latest"
DOCKERFILE_PATH="Dockerfile.example"
IMAGE_NAME="catfact"
docker build --build-arg ALPINECI_TAG="$ALPINECI_TAG" -f "$DOCKERFILE_PATH" -t "$IMAGE_NAME" .
Run a container of your image
IMAGE_NAME="catfact"
docker run --rm "$IMAGE_NAME"
# Random output:
# Many cats cannot properly digest cow's milk. Milk and milk products give them diarrhea.
Choosing alpine is awesome, but in some scenarios it just won't cut it. Here are some popular use-cases that might help you with choosing the right linux distribution.
ubuntu might be better for youglibcCreated and maintained by Meir Gabay
Content type
Image
Digest
sha256:c3a65a1f2…
Size
16.9 MB
Last updated
almost 4 years ago
docker pull unfor19/alpine-ci