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 c62250a commit 8651d6aCopy full SHA for 8651d6a
.dockerignore
Dockerfile
@@ -1,7 +1,15 @@
1
-FROM golang:latest as builder
+FROM golang:1.10-alpine3.8 as builder
2
+
3
+# Add basic tools
4
+RUN apk add --no-cache --update curl bash make git
5
6
RUN mkdir -p /go/src/github.com/codefresh-io/stevedore
7
WORKDIR /go/src/github.com/codefresh-io/stevedore
8
9
+ENV GOPATH /go
10
COPY . .
11
12
+# Build binary
13
RUN "./scripts/BUILD.sh"
14
15
@@ -10,6 +18,8 @@ FROM alpine:3.6
18
RUN apk add --no-cache ca-certificates
19
20
COPY --from=builder /go/src/github.com/codefresh-io/stevedore/dist/bin/stevedore /usr/bin/stevedore
21
22
23
ENV PATH $PATH:/usr/bin/stevedore
24
ENTRYPOINT ["stevedore"]
25
0 commit comments