diff options
| -rw-r--r-- | .dockerignore | 4 | ||||
| -rw-r--r-- | Dockerfile | 9 |
2 files changed, 11 insertions, 2 deletions
diff --git a/.dockerignore b/.dockerignore index 582f99ee..82f8570a 100644 --- a/.dockerignore +++ b/.dockerignore @@ -3,3 +3,7 @@ Dockerfile *.md *.cid *.iid +bin/ +coverage/ +Dockerfile +Dockerfile.integration @@ -1,9 +1,14 @@ +FROM alpine:3.8 AS upx +RUN apk add --no-cache upx=3.94-r0 + FROM golang:1.11.5-alpine@sha256:a6435c88400d0d25955ccdea235d2b2bd72650bbab45e102e4ae31a0359dbfb2 AS build RUN apk add --no-cache \ make \ - git \ - upx=3.94-r0 + libgcc libstdc++ ucl \ + git + +COPY --from=upx /usr/bin/upx /usr/bin/upx RUN mkdir -p /go/src/github.com/hairyhenderson/gomplate WORKDIR /go/src/github.com/hairyhenderson/gomplate |
