mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-15 11:52:14 +01:00
adds possibility of specifying docker to repo image target
This commit is contained in:
3
Makefile
3
Makefile
@@ -2,6 +2,7 @@ GOLANG_VERSION=1.12
|
|||||||
VERSION=snapshot
|
VERSION=snapshot
|
||||||
DOCKER_USER=
|
DOCKER_USER=
|
||||||
DOCKER_PASSWORD=
|
DOCKER_PASSWORD=
|
||||||
|
DOCKER_REPO=thecodingmachine
|
||||||
|
|
||||||
# generate documentation.
|
# generate documentation.
|
||||||
doc:
|
doc:
|
||||||
@@ -27,7 +28,7 @@ tests:
|
|||||||
# build Docker image.
|
# build Docker image.
|
||||||
image:
|
image:
|
||||||
docker build -t thecodingmachine/gotenberg:base -f build/base/Dockerfile .
|
docker build -t thecodingmachine/gotenberg:base -f build/base/Dockerfile .
|
||||||
docker build --build-arg GOLANG_VERSION=$(GOLANG_VERSION) --build-arg VERSION=$(VERSION) -t thecodingmachine/gotenberg:$(VERSION) -f build/package/Dockerfile .
|
docker build --build-arg GOLANG_VERSION=$(GOLANG_VERSION) --build-arg VERSION=$(VERSION) -t $(DOCKER_REPO)/gotenberg:$(VERSION) -f build/package/Dockerfile .
|
||||||
|
|
||||||
# start the API using previously built Docker image.
|
# start the API using previously built Docker image.
|
||||||
gotenberg:
|
gotenberg:
|
||||||
|
|||||||
Reference in New Issue
Block a user