mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-26 00:05:18 +00:00
tidy repo
This commit is contained in:
parent
3e5cf496d3
commit
f557b77be8
@ -1,8 +1,3 @@
|
|||||||
# Simple usage with a mounted data directory:
|
|
||||||
# > docker build -t gaia .
|
|
||||||
# > docker run -v $HOME/.gaiad:/root/.gaiad gaia init
|
|
||||||
# > docker run -v $HOME/.gaiad:/root/.gaiad gaia start
|
|
||||||
|
|
||||||
FROM alpine:edge
|
FROM alpine:edge
|
||||||
|
|
||||||
# Set up dependencies
|
# Set up dependencies
|
||||||
@ -38,6 +33,5 @@ RUN cd $REPO_PATH && make all && make install
|
|||||||
# remove packages
|
# remove packages
|
||||||
RUN apk del $PACKAGES
|
RUN apk del $PACKAGES
|
||||||
|
|
||||||
# Set entrypoint
|
# Set default command
|
||||||
#ENTRYPOINT ["gaiad"]
|
CMD ["kavad"]
|
||||||
CMD ["gaiad"]
|
|
@ -1,6 +0,0 @@
|
|||||||
This Dockerfile is to build cosmos-sdk. It needs to be in the cosmos-sdk repo to build.
|
|
||||||
|
|
||||||
It modifies the existing Dockerfile in the cosmos-sdk:
|
|
||||||
|
|
||||||
- split up commands to make use of layers to make rebuilds and uploads faster
|
|
||||||
- switch `ENTRYPOINT gaiad` to `CMD gaiad` to save typing `--entrypoint` all the time
|
|
Loading…
Reference in New Issue
Block a user