Skip to content

Commit

Permalink
Small tweeks to Dockerfiles (#247)
Browse files Browse the repository at this point in the history
Standardize Dockerfile between projects (Heimdall) and remove not necessary tini package.
  • Loading branch information
vcastellm authored Nov 30, 2021
1 parent fb79b8d commit b1fb79a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
5 changes: 1 addition & 4 deletions Dockerfile.release
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit b1fb79a

Please sign in to comment.