forked from ethereum/go-ethereum
-
Notifications
You must be signed in to change notification settings - Fork 0
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 ethereum#91 from tomochain/feature/bootnodeimage
Add new pipeline for bootnode binary
- Loading branch information
Showing
5 changed files
with
32 additions
and
35 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
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,22 @@ | ||
FROM golang:1.10-alpine as builder | ||
|
||
RUN apk add --no-cache make gcc musl-dev linux-headers | ||
|
||
ADD . /tomochain | ||
RUN cd /tomochain && make bootnode | ||
|
||
FROM alpine:latest | ||
|
||
LABEL maintainer="[email protected]" | ||
|
||
WORKDIR /tomochain | ||
|
||
COPY --from=builder /tomochain/build/bin/bootnode /usr/local/bin/bootnode | ||
|
||
RUN chmod +x /usr/local/bin/bootnode | ||
|
||
EXPOSE 30301 | ||
|
||
ENTRYPOINT ["/usr/local/bin/bootnode"] | ||
|
||
CMD ["--help"] |
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 was deleted.
Oops, something went wrong.