Skip to content

Instantly share code, notes, and snippets.

@FusRoDah061
Created October 16, 2020 12:25
Show Gist options
  • Save FusRoDah061/ae98b450a9ee2fffbffa2a11fe1fe280 to your computer and use it in GitHub Desktop.
Save FusRoDah061/ae98b450a9ee2fffbffa2a11fe1fe280 to your computer and use it in GitHub Desktop.
Alpine image for manually testing stuff when creating alpine-based docker images
FROM alpine:3.8
RUN apk add --no-cache git tar dpkg wget nano
WORKDIR /workspace
# Keep container running after startup
ENTRYPOINT ["tail", "-f", "/dev/null"]
# Build and run on terminal
# docker build -f my-alpine.Dockerfile -t myalpine .
# docker run --name myalpine -d myalpine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment