A minimal, secure Alpine Linux base image with essential tools for containerized applications.
- Base OS: Alpine Linux 3.22
- Init system:
tinifor proper PID 1 behavior - User tools:
su-execfor privilege dropping - Shell environment: Custom profile with enhanced prompt and aliases
docker pull ghcr.io/skriptzip/alpine:main# Build with default Alpine version (3.22)
docker build -t my-alpine .
# Build with specific Alpine version
docker build --build-arg ALPINE_TAG=3.21 -t my-alpine .# Interactive shell
docker run -it --rm ghcr.io/skriptzip/alpine:main
# Run with custom command
docker run --rm ghcr.io/skriptzip/alpine:main echo "Hello World"
# Run as specific user (using su-exec)
docker run --rm ghcr.io/skriptzip/alpine:main su-exec 1000:1000 whoamiFROM ghcr.io/skriptzip/alpine:main
# Your application setup
RUN apk add --no-cache python3 py3-pip
COPY app.py /app/
WORKDIR /app
# Use su-exec to run as non-root
CMD ["su-exec", "1000:1000", "python3", "app.py"]| Argument | Default | Description |
|---|---|---|
ALPINE_TAG |
3.22 |
Alpine Linux version to use as base |
Example:
docker build --build-arg ALPINE_TAG=3.21 -t my-alpine .- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request