Skip to content

Commit

Permalink
Merge pull request #1 from cirruslabs/fix-docker
Browse files Browse the repository at this point in the history
Fix Docker's "exec user process caused no such file or directory" error
  • Loading branch information
edigaryev authored Oct 7, 2020
2 parents 75dd404 + 247a266 commit 8758349
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,11 @@ FROM golang:latest as builder
WORKDIR /build
ADD . /build

RUN go get -t -v ./... && \
go test -v ./... && \
go build -o google-storage-proxy ./cmd/
RUN CGO_ENABLED=0 go build -o google-storage-proxy ./cmd/

FROM alpine:latest
LABEL org.opencontainers.image.source=https://github.com/cirruslabs/google-storage-proxy/

WORKDIR /svc
COPY --from=builder /build/google-storage-proxy /svc/
ENTRYPOINT ["/svc/google-storage-proxy"]
ENTRYPOINT ["/svc/google-storage-proxy"]

0 comments on commit 8758349

Please sign in to comment.