mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-14 16:03:45 +00:00
Small tweeks to Dockerfiles (#247)
Standardize Dockerfile between projects (Heimdall) and remove not necessary tini package.
This commit is contained in:
parent
fb79b8d06d
commit
b1fb79a511
2 changed files with 2 additions and 5 deletions
|
|
@ -4,7 +4,7 @@ ARG BOR_DIR=/bor
|
||||||
ENV BOR_DIR=$BOR_DIR
|
ENV BOR_DIR=$BOR_DIR
|
||||||
|
|
||||||
RUN apt-get update -y && apt-get upgrade -y \
|
RUN apt-get update -y && apt-get upgrade -y \
|
||||||
&& apt install build-essential git tini -y \
|
&& apt install build-essential git -y \
|
||||||
&& mkdir -p /bor
|
&& mkdir -p /bor
|
||||||
|
|
||||||
WORKDIR ${BOR_DIR}
|
WORKDIR ${BOR_DIR}
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,6 @@
|
||||||
FROM alpine:3.14
|
FROM alpine:3.14
|
||||||
|
|
||||||
RUN set -x \
|
RUN apk add --no-cache ca-certificates
|
||||||
&& apk add --update --no-cache \
|
|
||||||
ca-certificates \
|
|
||||||
&& rm -rf /var/cache/apk/*
|
|
||||||
COPY bor /usr/local/bin/
|
COPY bor /usr/local/bin/
|
||||||
|
|
||||||
EXPOSE 8545 8546 8547 30303 30303/udp
|
EXPOSE 8545 8546 8547 30303 30303/udp
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue