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"]