Newer
Older
ARG git_commit
ENV GIT_COMMIT=$git_commit
ARG git_branch
ENV GIT_BRANCH=$git_branch
ARG git_tag
ENV GIT_TAG=$git_tag
# for linters to avoid warnings. we won't use linters in Docker anyway
ENV LATEST_COMMIT="undefined"
RUN apk --no-cache add make gcc g++ linux-headers git bash ca-certificates libgcc libstdc++
Nick Johnson
committed
# next 2 lines helping utilize docker cache
COPY go.mod go.sum ./
RUN go mod download
Nick Johnson
committed
RUN apk add --no-cache ca-certificates libgcc libstdc++ tzdata
Nick Johnson
committed
EXPOSE 8545 8546 30303 30303/udp 8080 9090 6060