Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Updated docker assets * Bump docker-compose.yml version to 3.8
- Loading branch information
Tobias Andersen
committed
Feb 10, 2023
1 parent
b3b9038
commit f0ad7d8
Showing
10 changed files
with
483 additions
and
25 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
FROM ubuntu:22.04 | ||
|
||
RUN DEBIAN_FRONTEND=noninteractive ; \ | ||
apt-get update ; \ | ||
apt-get install -y build-essential wget lz4 aria2 curl jq gawk coreutils git golang-go ; \ | ||
apt-get clean ; \ | ||
mkdir /terra ; \ | ||
groupadd -r terra ; \ | ||
useradd -r -g terra --home-dir=/terra terra ; \ | ||
chown -R terra:terra /terra | ||
|
||
ENV GOPATH=/usr/local/ | ||
ENV PATH "$PATH:$GOPATH/bin" | ||
|
||
RUN git clone https://github.com/classic-terra/core.git ; \ | ||
cd core ; \ | ||
make install | ||
|
||
USER terra | ||
|
||
WORKDIR /terra | ||
|
||
# rest server | ||
EXPOSE 1317 | ||
# grpc | ||
EXPOSE 9090 | ||
# tendermint p2p | ||
EXPOSE 26656 | ||
# tendermint rpc | ||
EXPOSE 26657 | ||
|
||
CMD ["/usr/local/bin/terrad", "version"] |
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.