mirror of
https://github.com/willfarrell/docker-crontab.git
synced 2025-06-25 13:23:55 +02:00
Added support for envsubst in image/container name
Envsubst allows to use dynamic container name We use image name env substitution with docker-compose and .env to select right image tag for local development Within alpine, envsubst installed with gettext package.
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
FROM library/docker:stable
|
||||
|
||||
ENV HOME_DIR=/opt/crontab
|
||||
RUN apk add --no-cache --virtual .run-deps bash jq \
|
||||
RUN apk add --no-cache --virtual .run-deps gettext bash jq \
|
||||
&& mkdir -p ${HOME_DIR}/jobs ${HOME_DIR}/projects \
|
||||
&& adduser -S docker -D
|
||||
|
||||
|
Reference in New Issue
Block a user