We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5fd1b50 commit b6e2125Copy full SHA for b6e2125
Rockerfile
@@ -41,12 +41,12 @@ ENV CGO_ENABLED=0
41
42
RUN go get -v github.com/tools/godep
43
44
-
+RUN mkdir -p /go/src/github.com/tonistiigi/dnsdock
45
+WORKDIR /go/src/github.com/tonistiigi/dnsdock
46
{{if .SRCDIR}}
47
MOUNT {{$SRCDIR}}:/go/src/github.com/tonistiigi/dnsdock
48
{{else}}
- RUN go get github.com/tonistiigi/dnsdock
49
- WORKDIR /go/src/github.com/tonistiigi/dnsdock
+ RUN git clone https://github.com/tonistiigi/dnsdock /go/src/github.com/tonistiigi/dnsdock
50
RUN git checkout {{$GIT_COMMIT}}
51
{{end}}
52
0 commit comments