File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -126,15 +126,18 @@ Our service has only one `/hello` endpoint and writes just a few logs. The inter
126
126
``` Dockerfile
127
127
FROM golang:1.13-alpine
128
128
129
- ENV CGO_ENABLED=0 # compile gcc statically
129
+ # compile gcc statically
130
+ ENV CGO_ENABLED=0
130
131
ENV GOROOT=/usr/local/go
131
- ENV GOPATH=${HOME}/go # this path will be mounted in deploy-service.yaml later
132
+ # this path will be mounted in deploy-service.yaml later
133
+ ENV GOPATH=${HOME}/go
132
134
ENV PATH=$PATH:${GOROOT}/bin
133
135
134
136
EXPOSE 30123 # for delve
135
137
EXPOSE 8090 # for API calls
136
138
137
- WORKDIR /go/src/github.com/setlog/debug-k8s # ATTENTION: you want to check, if the path to the project folder is the right one here
139
+ # ATTENTION: you want to check, if the path to the project folder is the right one here
140
+ WORKDIR /go/src/github.com/setlog/debug-k8s
138
141
139
142
# Install delve, our version is 1.4.1
140
143
RUN apk update && apk add git && \
You can’t perform that action at this time.
0 commit comments