Skip to content

Commit

Permalink
Merge pull request #8 from medyagh/update_dockerfile
Browse files Browse the repository at this point in the history
Update dockerfile
  • Loading branch information
medyagh authored Jul 21, 2020
2 parents 34873f2 + a8bc790 commit aeae7cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.13.10-alpine3.11
FROM golang:1.14.6-alpine3.12
WORKDIR /src/
COPY ./ ./
RUN apk -U add make git
Expand Down
4 changes: 2 additions & 2 deletions run_in_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ COMMIT=cd7cac61d3f8df1026f6b4a2689b362e132dfe4b

${DOCKER_BIN} run --mount type=bind,source="${JSON_OUT}",target=/tmp/out.json \
--mount type=bind,source="${TEST_INPUT}",target=/tmp/log.txt \
-i medyagh/gopogh:v0.1.14 \
-i medyagh/gopogh:v0.2.1 \
sh -c "go tool test2json -t < /tmp/log.txt > /tmp/out.json" || true


set +ex
${DOCKER_BIN} run --rm --mount type=bind,source=${JSON_OUT},target=/tmp/log.json \
--mount type=bind,source="${HTML_OUT}",target=/tmp/log.html \
-i medyagh/gopogh:v0.1.14 sh -c \
-i medyagh/gopogh:v0.2.1 sh -c \
"/gopogh -in /tmp/log.json -out /tmp/log.html -name "${JOB_NAME}" -pr ${MINIKUBE_LOCATION} -repo github.com/kubernetes/minikube/ -details ${COMMIT}" || true

0 comments on commit aeae7cd

Please sign in to comment.