support entrypoint in 1.12
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
1
Makefile
1
Makefile
@@ -52,6 +52,7 @@ push: build $(addprefix push-,$(MODULES)) latest
|
|||||||
Dockerfile.%: unit/version
|
Dockerfile.%: unit/version
|
||||||
@echo "===> Building $@"
|
@echo "===> Building $@"
|
||||||
cat unit/pkg/docker/Dockerfile.tmpl | sed \
|
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,stretch,buster,g' \
|
||||||
-e 's,@@UNITPACKAGES@@,$(MODULE_$*),g' \
|
-e 's,@@UNITPACKAGES@@,$(MODULE_$*),g' \
|
||||||
-e 's,@@UNIT_VERSION@@,$(UNIT_VERSION),g' \
|
-e 's,@@UNIT_VERSION@@,$(UNIT_VERSION),g' \
|
||||||
|
|||||||
Reference in New Issue
Block a user