mirror of
https://github.com/logos-storage/logos-storage-DAppNodePackage.git
synced 2026-01-02 13:23:10 +00:00
18 lines
404 B
Docker
18 lines
404 B
Docker
# Variables
|
|
ARG UPSTREAM_VERSION_GETH
|
|
ARG GENESIS_DIR=/
|
|
ARG GENESIS_PREFIX=genesis
|
|
|
|
# Create
|
|
FROM ethereum/client-go:${UPSTREAM_VERSION_GETH}
|
|
ARG GENESIS_DIR
|
|
ARG GENESIS_PREFIX
|
|
|
|
COPY --chmod=0755 ${GENESIS_PREFIX}-*.json ${GENESIS_DIR}
|
|
COPY --chmod=0755 docker-entrypoint.sh /docker-entrypoint.sh
|
|
|
|
ENV GENESIS_DIR=${GENESIS_DIR}
|
|
ENV GENESIS_PREFIX=${GENESIS_PREFIX}
|
|
|
|
ENTRYPOINT ["/docker-entrypoint.sh"]
|