go-ethereum/Dockerfile
Victor Castell 78ba316bcb
Adapt Dockerfile for development (#237)
* Adapt Dockerfile for development

The Dockerfile for release using Alpine is in the included Dockerfile.release and this one was not used for release so doesn't make sense to have it using multistage nor Alpine.
2021-11-17 14:47:37 +01:00

17 lines
300 B
Docker

FROM golang:latest
ARG BOR_DIR=/bor
ENV BOR_DIR=$BOR_DIR
RUN apt-get update -y && apt-get upgrade -y \
&& apt install build-essential git tini -y \
&& mkdir -p /bor
WORKDIR ${BOR_DIR}
COPY . .
RUN make bor-all
ENV SHELL /bin/bash
EXPOSE 8545 8546 8547 30303 30303/udp
ENTRYPOINT ["bor"]