-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit also disable the docker building process performed by goreleaser. Docker containers are built now by hub.docker.com.
- Loading branch information
Gustavo Chain
committed
Mar 31, 2020
1 parent
89085c7
commit 5e57b32
Showing
3 changed files
with
10 additions
and
14 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
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,10 @@ | ||
FROM golang:1.14-alpine | ||
RUN apk --no-cache add ca-certificates | ||
WORKDIR /src | ||
COPY . . | ||
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o mempool-cli . | ||
|
||
FROM scratch | ||
COPY --from=0 /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ | ||
COPY --from=0 /src/mempool-cli / | ||
ENTRYPOINT ["/mempool-cli"] |
This file was deleted.
Oops, something went wrong.