-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #107 from babylonchain/release/v0.1.0
Release v0.1.0
- Loading branch information
Showing
8 changed files
with
524 additions
and
367 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 |
---|---|---|
|
@@ -11,16 +11,10 @@ RUN apk add --no-cache --update openssh git make build-base linux-headers libc-d | |
pkgconfig zeromq-dev musl-dev alpine-sdk libsodium-dev \ | ||
libzmq-static libsodium-static gcc | ||
|
||
|
||
RUN mkdir -p /root/.ssh && ssh-keyscan github.com >> /root/.ssh/known_hosts | ||
RUN git config --global url."[email protected]:".insteadOf "https://github.com/" | ||
ENV GOPRIVATE=github.com/babylonchain/* | ||
|
||
# Build | ||
WORKDIR /go/src/github.com/babylonchain/btc-staker | ||
# Cache dependencies | ||
COPY go.mod go.sum /go/src/github.com/babylonchain/btc-staker/ | ||
RUN --mount=type=secret,id=sshKey,target=/root/.ssh/id_rsa go mod download | ||
# Copy the rest of the files | ||
COPY ./ /go/src/github.com/babylonchain/btc-staker/ | ||
|
||
|
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.