Skip to content

Commit

Permalink
No need to "go get" and "go test"
Browse files Browse the repository at this point in the history
  • Loading branch information
edigaryev committed Oct 7, 2020
1 parent fb0b72b commit 247a266
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ FROM golang:latest as builder
WORKDIR /build
ADD . /build

RUN go get -t -v ./... && \
go test -v ./... && \
CGO_ENABLED=0 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/
Expand Down

0 comments on commit 247a266

Please sign in to comment.