Merge pull request #78 from fbartels/docker-fix

Specify output filename and set executable permissions
This commit is contained in:
Anders Pitman 2021-03-29 11:02:13 -06:00 committed by GitHub
commit 5b4f685392
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,8 +10,8 @@ RUN go mod download
COPY . .
RUN rice embed-go
RUN CGO_ENABLED=0 go build
RUN CGO_ENABLED=0 go build -o boringproxy
RUN chmod +x boringproxy
FROM scratch
EXPOSE 80 443