Skip to content

Commit 1dab64f

Browse files
Update Dockerfile
1 parent 14017cf commit 1dab64f

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

Dockerfile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
FROM alpine:3.13
22

3-
RUN apk --update --no-cache add nodejs npm python3 py3-pip jq curl bash git docker go>=1.16 && \
3+
RUN apk --update --no-cache add nodejs npm python3 py3-pip jq curl bash git docker && \
44
ln -sf /usr/bin/python3 /usr/bin/python
55

6+
COPY --from=docker pull golang:alpine /usr/local/go/ /usr/local/go/
7+
8+
ENV PATH="/usr/local/go/bin:${PATH}"
69
# Configure Go
7-
ENV GOROOT /usr/lib/go
8-
ENV GOPATH /go
9-
ENV PATH /go/bin:$PATH
10+
# ENV GOROOT /usr/lib/go
11+
# ENV GOPATH /go
1012

1113
COPY entrypoint.sh /entrypoint.sh
1214

0 commit comments

Comments
 (0)