-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build binaries from source using Docker (#14)
This change makes it easy to reproducibly build ssl-proxy for multiple platforms via Docker.
- Loading branch information
1 parent
2c32f3c
commit 3a79b4a
Showing
3 changed files
with
24 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
FROM golang:1.12-alpine3.9 | ||
WORKDIR /go/src/github.com/suyashkumar/ssl-proxy | ||
RUN apk add --no-cache make git zip | ||
RUN go get -u github.com/golang/dep/cmd/dep | ||
COPY . . | ||
RUN make |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
version: '2' | ||
services: | ||
build-release: | ||
build: . | ||
volumes: | ||
- $PWD/build:/go/src/github.com/suyashkumar/ssl-proxy/build | ||
command: make release |