-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update deps and build with commit hash
Signed-off-by: Silas Davis <[email protected]>
- Loading branch information
Silas Davis
committed
Nov 28, 2019
1 parent
f569f91
commit a0f05b2
Showing
7 changed files
with
535 additions
and
1,172 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 |
---|---|---|
|
@@ -2,16 +2,15 @@ | |
FROM golang:1.12.1-alpine3.9 as builder | ||
MAINTAINER Monax <[email protected]> | ||
|
||
RUN apk add --update --no-cache git | ||
RUN apk add --update --no-cache make git bash | ||
|
||
ARG REPO=$GOPATH/src/github.com/monax/hoard | ||
COPY . $REPO | ||
WORKDIR $REPO | ||
|
||
ENV GO111MODULE=on | ||
# Build purely static binaries | ||
RUN go build --ldflags '-extldflags "-static"' -o bin/hoard ./cmd/hoard | ||
RUN go build --ldflags '-extldflags "-static"' -o bin/hoarctl ./cmd/hoarctl | ||
RUN make build | ||
|
||
# This will be our base container image | ||
FROM alpine:3.9 | ||
|
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
Oops, something went wrong.