We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac4ed59 commit 0060ad7Copy full SHA for 0060ad7
core/rust1.34/Dockerfile
@@ -17,7 +17,12 @@
17
18
# build go proxy from source
19
FROM golang:1.15 AS builder_source
20
-RUN env CGO_ENABLED=0 go get github.com/apache/openwhisk-runtime-go/main && mv /go/bin/main /bin/proxy
+ARG GO_PROXY_GITHUB_USER=apache
21
+ARG GO_PROXY_GITHUB_BRANCH=master
22
+RUN git clone --branch ${GO_PROXY_GITHUB_BRANCH} \
23
+ https://github.com/${GO_PROXY_GITHUB_USER}/openwhisk-runtime-go /src ;\
24
+ cd /src ; env GO111MODULE=on CGO_ENABLED=0 go build main/proxy.go && \
25
+ mv proxy /bin/proxy
26
27
# or build it from a release
28
FROM golang:1.15 AS builder_release
0 commit comments