Skip to content

Commit a219058

Browse files
dragetddchaykin
authored andcommitted
Fix invalid comments in Dockerfile
Comments must start at the beginning of the line. See https://docs.docker.com/engine/reference/builder/#format
1 parent fb32030 commit a219058

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,15 +126,18 @@ Our service has only one `/hello` endpoint and writes just a few logs. The inter
126126
```Dockerfile
127127
FROM golang:1.13-alpine
128128

129-
ENV CGO_ENABLED=0 # compile gcc statically
129+
# compile gcc statically
130+
ENV CGO_ENABLED=0
130131
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
132134
ENV PATH=$PATH:${GOROOT}/bin
133135

134136
EXPOSE 30123 # for delve
135137
EXPOSE 8090 # for API calls
136138

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
138141

139142
# Install delve, our version is 1.4.1
140143
RUN apk update && apk add git && \

0 commit comments

Comments
 (0)