cleaned up alpine with added helper scripts
50K+
This will be the base image of most of my future docker images.
This main image will have only one user: root. All the other default users are deleted.
The image will contain a install script in /container/install.sh.
This script will run user-cleanup and upgrade
The image will contain a upgrade script in /container/upgrade.sh.
This script can be used to upgrade all currently installed packages.
The image will contain a user cleanup script /container/user-cleanup.sh.
This script will remove all users and groups except for root.
The images using this image as base can just add a /container/user-config.sh
so there is a possibility to create a needed user in the newly built image. Its
necessary to call the /container/user-setup.sh from your entrypoint script.
Since the container folder will exist in this "base"-image, other images can
easily add their helper scripts in that directory to avoid clutter in the root
folder.
Content type
Image
Digest
sha256:b64255d06…
Size
7.8 MB
Last updated
4 days ago
docker pull blackikeeagle/alpine:edge