mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 11:41:19 +00:00
minor dockerfile improvements (#2443)
This commit is contained in:
parent
db86092ccd
commit
c682dd16d7
15
Dockerfile
15
Dockerfile
@ -1,4 +1,5 @@
|
||||
FROM docker.io/library/golang:1.16-alpine3.13 as builder
|
||||
# syntax=docker/dockerfile:1
|
||||
FROM docker.io/library/golang:1.16-alpine3.13 AS builder
|
||||
|
||||
RUN apk --no-cache add make gcc g++ linux-headers git bash ca-certificates libgcc libstdc++
|
||||
|
||||
@ -21,3 +22,15 @@ RUN chown -R erigon:erigon /home/erigon
|
||||
USER erigon
|
||||
|
||||
EXPOSE 8545 8546 30303 30303/udp 30304 30304/udp 8080 9090 6060
|
||||
|
||||
ARG BUILD_DATE
|
||||
ARG VCS_REF
|
||||
LABEL org.label-schema.build-date=$BUILD_DATE \
|
||||
org.label-schema.name="Erigon" \
|
||||
org.label-schema.description="Erigon Ethereum Client" \
|
||||
org.label-schema.url="https://torquem.ch" \
|
||||
org.label-schema.vcs-ref=$VCS_REF \
|
||||
org.label-schema.vcs-url="https://github.com/ledgerwatch/erigon.git" \
|
||||
org.label-schema.vendor="Torquem" \
|
||||
org.label-schema.version=$VERSION \
|
||||
org.label-schema.schema-version="1.0"
|
||||
|
2
Makefile
2
Makefile
@ -19,7 +19,7 @@ go-version:
|
||||
fi
|
||||
|
||||
docker:
|
||||
docker build -t turbo-geth:latest --build-arg git_commit='${GIT_COMMIT}' --build-arg git_branch='${GIT_BRANCH}' --build-arg git_tag='${GIT_TAG}' .
|
||||
DOCKER_BUILDKIT=1 docker build -t erigon:latest --build-arg git_commit='${GIT_COMMIT}' --build-arg git_branch='${GIT_BRANCH}' --build-arg git_tag='${GIT_TAG}' .
|
||||
|
||||
xdg_data_home := ~/.local/share
|
||||
ifdef XDG_DATA_HOME
|
||||
|
Loading…
Reference in New Issue
Block a user