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 14017cf commit 1dab64fCopy full SHA for 1dab64f
Dockerfile
@@ -1,12 +1,14 @@
1
FROM alpine:3.13
2
3
-RUN apk --update --no-cache add nodejs npm python3 py3-pip jq curl bash git docker go>=1.16 && \
+RUN apk --update --no-cache add nodejs npm python3 py3-pip jq curl bash git docker && \
4
ln -sf /usr/bin/python3 /usr/bin/python
5
6
+COPY --from=docker pull golang:alpine /usr/local/go/ /usr/local/go/
7
+
8
+ENV PATH="/usr/local/go/bin:${PATH}"
9
# Configure Go
-ENV GOROOT /usr/lib/go
-ENV GOPATH /go
-ENV PATH /go/bin:$PATH
10
+# ENV GOROOT /usr/lib/go
11
+# ENV GOPATH /go
12
13
COPY entrypoint.sh /entrypoint.sh
14
0 commit comments