lotus/curiosrc/docker/lotus-miner/Dockerfile

34 lines
905 B
Docker
Raw Normal View History

ARG CURIO_TEST_IMAGE=curio/curio-all-in-one:latest
#############################################################################
FROM ${CURIO_TEST_IMAGE}
ARG BUILD_VERSION=0.1
LABEL org.opencontainers.image.version=$BUILD_VERSION \
org.opencontainers.image.authors="Curio Dev Team" \
name="lotus-miner-dev" \
maintainer="Curio Dev Team" \
vendor="Curio Dev Team" \
version=$BUILD_VERSION \
release=$BUILD_VERSION \
summary="This image is used to host the lotus-miner dev service" \
description="This image is used to host the lotus-miner dev service"
EXPOSE 2345
ENV LOTUS_SKIP_GENESIS_CHECK=_yes_
ENV GENESIS_PATH=/var/lib/genesis
ENV SECTOR_SIZE=8388608
VOLUME /var/tmp/filecoin-proof-parameters
VOLUME /var/lib/genesis
VOLUME /var/lib/builtin-actors
WORKDIR /app
RUN mkdir -p /app
COPY entrypoint.sh /app
USER root
ENTRYPOINT ["./entrypoint.sh"]