From 426843a8400283a99305a800a96d7818c9e3ab2d Mon Sep 17 00:00:00 2001 From: Rootul P Date: Mon, 24 Jul 2023 09:33:10 -0400 Subject: [PATCH] chore: delete Dockerfile_ephemeral Motivation in https://github.com/celestiaorg/celestia-app/issues/2118#issuecomment-1647919447 --- docker/Dockerfile_ephemeral | 42 ------------------------------------- 1 file changed, 42 deletions(-) delete mode 100644 docker/Dockerfile_ephemeral diff --git a/docker/Dockerfile_ephemeral b/docker/Dockerfile_ephemeral deleted file mode 100644 index 54635a5cc3..0000000000 --- a/docker/Dockerfile_ephemeral +++ /dev/null @@ -1,42 +0,0 @@ -# stage 1 Generate celestia-appd Binary -FROM docker.io/golang:1.20.6-alpine3.17 as builder - -RUN apk update && \ - apk upgrade && \ - apk --no-cache add make gcc musl-dev - -ENV HOME /celestia-app - -COPY / ${HOME} -WORKDIR ${HOME} - -RUN make build - -# stage 2 -FROM docker.io/alpine:3.18.2 - -RUN apk update && \ - apk upgrade && \ - apk --no-cache add curl jq bash - -ENV HOME /celestia-app -COPY --from=builder ${HOME}/build/celestia-appd ${HOME}/celestia-appd -COPY docker/priv_validator_state.json ${HOME}/data/priv_validator_state.json -WORKDIR $HOME - -# p2p, rpc and prometheus port -EXPOSE 26656 26657 1317 9090 - -# This allows us to always set the --home directory using an env -# var while still capturing all arguments passed at runtime -ENTRYPOINT [ "/bin/bash", "-c", "exec ./celestia-appd \ - --home ${HOME} \ - \"${@}\"", "--" ] - -RUN adduser -D -u 1000 celestia \ - && chown -R celestia:celestia /opt - -USER celestia - -# Default command to run if no arguments are passed -CMD ["--help"]