support entrypoint in 1.12
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Mauro Torrez 2019-10-11 18:48:15 -03:00
parent 0a93ddba00
commit 9f0afbcd01

View File

@ -52,6 +52,7 @@ push: build $(addprefix push-,$(MODULES)) latest
Dockerfile.%: unit/version
@echo "===> Building $@"
cat unit/pkg/docker/Dockerfile.tmpl | sed \
-e 's,COPY docker-entrypoint.sh,COPY unit/pkg/docker/docker-entrypoint.sh,g' \
-e 's,stretch,buster,g' \
-e 's,@@UNITPACKAGES@@,$(MODULE_$*),g' \
-e 's,@@UNIT_VERSION@@,$(UNIT_VERSION),g' \