-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Rename btc-validator to finality-provider (#179)
- Loading branch information
Showing
89 changed files
with
4,671 additions
and
4,656 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 |
---|---|---|
|
@@ -17,12 +17,12 @@ RUN git config --global url."[email protected]:".insteadOf "https://github.com/" | |
ENV GOPRIVATE=github.com/babylonchain/* | ||
|
||
# Build | ||
WORKDIR /go/src/github.com/babylonchain/btc-validator | ||
WORKDIR /go/src/github.com/babylonchain/finality-provider | ||
# Cache dependencies | ||
COPY go.mod go.sum /go/src/github.com/babylonchain/btc-validator/ | ||
COPY go.mod go.sum /go/src/github.com/babylonchain/finality-provider/ | ||
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-validator/ | ||
COPY ./ /go/src/github.com/babylonchain/finality-provider/ | ||
|
||
# Cosmwasm - Download correct libwasmvm version | ||
RUN WASMVM_VERSION=$(go list -m github.com/CosmWasm/wasmvm | cut -d ' ' -f 2) && \ | ||
|
@@ -41,15 +41,15 @@ RUN CGO_LDFLAGS="$CGO_LDFLAGS -lstdc++ -lm -lsodium" \ | |
# FINAL IMAGE | ||
FROM alpine:3.16 AS run | ||
|
||
RUN addgroup --gid 1138 -S btcvalidator && adduser --uid 1138 -S btcvalidator -G btcvalidator | ||
RUN addgroup --gid 1138 -S finality-provider && adduser --uid 1138 -S finality-provider -G finality-provider | ||
|
||
RUN apk add bash curl jq | ||
|
||
COPY --from=builder /go/src/github.com/babylonchain/btc-validator/build/vald /bin/vald | ||
COPY --from=builder /go/src/github.com/babylonchain/btc-validator/build/valcli /bin/valcli | ||
COPY --from=builder /go/src/github.com/babylonchain/btc-validator/build/covd /bin/covd | ||
COPY --from=builder /go/src/github.com/babylonchain/btc-validator/build/eotsd /bin/eotsd | ||
COPY --from=builder /go/src/github.com/babylonchain/finality-provider/build/fpd /bin/fpd | ||
COPY --from=builder /go/src/github.com/babylonchain/finality-provider/build/fpcli /bin/fpcli | ||
COPY --from=builder /go/src/github.com/babylonchain/finality-provider/build/covd /bin/covd | ||
COPY --from=builder /go/src/github.com/babylonchain/finality-provider/build/eotsd /bin/eotsd | ||
|
||
WORKDIR /home/btcvalidator | ||
RUN chown -R btcvalidator /home/btcvalidator | ||
USER btcvalidator | ||
WORKDIR /home/finality-provider | ||
RUN chown -R finality-provider /home/finality-provider | ||
USER finality-provider |
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.