mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-28 07:36:44 +00:00
19 lines
329 B
Docker
19 lines
329 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 -y \
|
|
&& mkdir -p /bor
|
|
|
|
WORKDIR ${BOR_DIR}
|
|
COPY . .
|
|
RUN make bor
|
|
|
|
RUN cp build/bin/bor /usr/local/bin/
|
|
|
|
ENV SHELL /bin/bash
|
|
EXPOSE 8545 8546 8547 30303 30303/udp
|
|
|
|
ENTRYPOINT ["bor"]
|