Small tweeks to Dockerfiles (#247)

Standardize Dockerfile between projects (Heimdall) and remove not necessary tini package.
This commit is contained in:
Victor Castell 2021-11-30 12:19:27 +01:00 committed by GitHub
parent fb79b8d06d
commit b1fb79a511
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 5 deletions

View file

@ -4,7 +4,7 @@ ARG BOR_DIR=/bor
ENV BOR_DIR=$BOR_DIR
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
WORKDIR ${BOR_DIR}

View file

@ -1,9 +1,6 @@
FROM alpine:3.14
RUN set -x \
&& apk add --update --no-cache \
ca-certificates \
&& rm -rf /var/cache/apk/*
RUN apk add --no-cache ca-certificates
COPY bor /usr/local/bin/
EXPOSE 8545 8546 8547 30303 30303/udp