-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ccc1634
commit 9b91a34
Showing
2 changed files
with
34 additions
and
0 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,31 @@ | ||
FROM golang:1.19-alpine3.16 as go-builder | ||
|
||
ARG LINK_STATICALLY | ||
|
||
ENV PACKAGES curl make git libc-dev bash gcc linux-headers eudev-dev python3 | ||
|
||
RUN apk add --no-cache $PACKAGES | ||
|
||
RUN git clone -b 'v3.0.0' --single-branch --depth 1 https://github.com/dymensionxyz/dymension.git /dymension | ||
|
||
WORKDIR /dymension | ||
|
||
RUN make build | ||
|
||
FROM alpine:3.16.1 | ||
|
||
RUN apk add curl jq bash vim | ||
|
||
COPY --from=go-builder /dymension/build/dymd /usr/local/bin/ | ||
|
||
WORKDIR /dymension | ||
|
||
COPY scripts/* ./scripts/ | ||
|
||
ENV CHAIN_ID=local-testnet | ||
ENV KEY_NAME=local-user | ||
ENV MONIKER_NAME=local | ||
|
||
RUN chmod +x ./scripts/*.sh | ||
|
||
EXPOSE 26656 26657 1317 9090 |