
Docker Alpine Base
2.4.1
Provides a base Alpine Linux Docker image with a minimal set of tooling. Great for being used as a foundational image for building on top of, for example, the Docker Alpine Ruby image.
Table of Contents
Features
Requirements
Setup
To set up the project, run:
git clone https://github.com/bkuhlmann/docker-alpine-base.git
cd docker-alpine-base
git checkout 2.4.1
Usage
All versions of this image can be found on Docker Hub. The image can be pulled as follows:
docker pull bkuhlmann/alpine-base:latest # Pull latest version.
docker pull bkuhlmann/alpine-base:2.4.1 # Pull specific version.
You can also build on top of this image via your Dockerfile
:
FROM bkuhlmann/alpine-base:latest # Latest version.
FROM bkuhlmann/alpine-base:2.4.1 # Specific version.
Development
To contribute, run:
git clone https://github.com/bkuhlmann/docker-alpine-base.git
cd docker-alpine-base
To build, run:
bin/build
To use the console, run:
bin/console
To deploy a new version (i.e. 1.2.3
), run:
bin/deploy 1.2.3
Deploying, without specifying a version, will default to tagging the image as latest
. Best practice is to deploy both the latest version and specific tag. Example:
bin/deploy
bin/deploy 1.2.3
Tests
To test, run:
bin/console
bash --version
curl --version
git --version
gpg --version
openssl version
ssh -V
vim --version
Credits
-
Built with Rubysmith.
-
Engineered by Brooke Kuhlmann.