The goal is to create a minimalist and lightweight image with development tools in order to reduce network and storage impact.
This image gives you the flexibility to be used for development or as a base image as you see fits.
This image uses a non-root user with a UID and GID of 1001 to conform with docker security best practices.
- Push/Pull-Request to master
- triggers push-latest action
- Builds container image and pushes to docker hub with latest image tag
- Create a git tag, e.g. 1.5
- Create a github release for tagged version with suitable title and description, e.g. Synechron v1.5
- Automatically triggers github release action
- Builds container image and pushes to docker hub with release-X.X image tag
Simply launch the container and use the CLI as you would on any other platform, for instance using the latest image:
docker container run -it --rm --mount type=bind,source="$(pwd)",target=/workspace citihub/centos-devel:latest
The
--rm
flag will completely destroy the container and its data on exit.
You can build the image locally directly from the Dockerfile, using the build script.
It will :
- Lint the Dockerfile with Hadolint;
- Build and tag the image
citihub/centos-devel:dev
; - Execute container structure tests on the image.
# launch build script
./dev-build.sh
Please refer to the github project to track new features.
Do not hesitate to contribute by filling an issue or opening a PR !
This project is under the Apache License 2.0