docker-base /

Filename Size Date modified Message
bin
templates
45 B
1.3 KB
732 B
492 B

Docker Base Image

Usage

Build the image

~$ docker build --tag docker-base .

Run the container

~$ docker run --rm docker-base sysinfo

Import SSH private key into the container

~$ docker run --rm --env "SSH_PRIVATE_KEY=$(<~/.ssh/id_rsa)" docker-base sysinfo

Environment variables

Variable Default value
SSH_PRIVATE_KEY -
GIT_USER_EMAIL -
GIT_USER_NAME -

Build arguments

Argument Default value
APP_USER rdoepner
APP_UID 1000
APP_GROUP rdoepner
APP_GID 1000

envtpl

envtpl renders Go templates on the command line using environment variables.