This repository was archived by the owner on Apr 14, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 11GOLANG_VERSION =1.13
2- GOTENBERG_VERSION =6.0.1
2+ GOTENBERG_VERSION =6
3+ GOTENBERG_LOG_LEVEL =DEBUG
34VERSION =snapshot
45GOLANGCI_LINT_VERSION =1.20.1
56
1516
1617# run all tests.
1718tests :
18- docker build --build-arg GOLANG_VERSION=$(GOLANG_VERSION ) --build-arg GOTENBERG_VERSION=$(GOTENBERG_VERSION ) -t thecodingmachine/gotenberg-go-client:tests -f build/tests/Dockerfile .
19+ docker build --build-arg GOLANG_VERSION=$(GOLANG_VERSION ) --build-arg GOTENBERG_VERSION=$(GOTENBERG_VERSION ) --build-arg GOTENBERG_LOG_LEVEL= $( GOTENBERG_LOG_LEVEL ) -t thecodingmachine/gotenberg-go-client:tests -f build/tests/Dockerfile .
1920 docker run --rm -it -v " $( PWD) :/tests" thecodingmachine/gotenberg-go-client:tests
Original file line number Diff line number Diff line change @@ -14,7 +14,8 @@ USER root
1414# | Libraries used in the build process of this image.
1515# |
1616
17- RUN apt-get install -y git gcc
17+ RUN apt-get update &&\
18+ apt-get install -y git gcc
1819
1920# |--------------------------------------------------------------------------
2021# | Golang
@@ -38,6 +39,10 @@ ENV PATH $GOPATH/bin:/usr/local/go/bin:$PATH
3839# | Last instructions of this build.
3940# |
4041
42+ ARG GOTENBERG_LOG_LEVEL
43+
44+ ENV LOG_LEVEL=${GOTENBERG_LOG_LEVEL}
45+
4146# Define our workding outside of $GOPATH (we're using go modules).
4247WORKDIR /tests
4348
You can’t perform that action at this time.
0 commit comments