go-ethereum/Dockerfile.dev
Will Meister 7cc1988962
Create local development Dockerfile and docker-compose (#17)
Adding docker-compose.dev.yml and Dockerfile.dev to mount the current dir and call a script to conditionally build for fast iteration
2020-08-28 09:13:38 -05:00

13 lines
395 B
Docker

# Requires the root repo dir to be mounted at /mnt/go-ethereum in order to run this!
FROM golang:1.14-alpine
RUN apk add --no-cache make gcc musl-dev linux-headers git
RUN apk add --no-cache ca-certificates
EXPOSE 8545 8546 8547 30303 30303/udp
# Used to mount the code so image isn't re-built every time code changes
WORKDIR /mnt/go-ethereum
ENTRYPOINT ["sh", "./docker/dev_entrypoint.sh"]