diff --git a/docker/crux/Dockerfile b/docker/crux/Dockerfile index fa36e15..7d22fd8 100644 --- a/docker/crux/Dockerfile +++ b/docker/crux/Dockerfile @@ -1,8 +1,10 @@ FROM alpine:3.8 -RUN apk add --no-cache --update unzip db zlib wrk wget libsodium-dev go bash libpthread-stubs db-dev && \ - apk -X http://dl-cdn.alpinelinux.org/alpine/edge/testing add --no-cache leveldb && \ - apk --no-cache --update add build-base cmake boost-dev git +RUN apk update --no-cache && \ + # Update and then install dependencies + apk add unzip db zlib wrk wget libsodium-dev go bash libpthread-stubs db-dev && \ + apk -X http://dl-cdn.alpinelinux.org/alpine/edge/testing add leveldb && \ + apk add build-base cmake boost-dev git ENV CRUX_PUB="" ENV CRUX_PRIV="" diff --git a/docker/quorum-crux/Dockerfile b/docker/quorum-crux/Dockerfile index 0d48d5e..fefc57a 100644 --- a/docker/quorum-crux/Dockerfile +++ b/docker/quorum-crux/Dockerfile @@ -1,8 +1,10 @@ FROM alpine:3.8 -RUN apk add --no-cache --update unzip db zlib wrk wget libsodium-dev go bash libpthread-stubs db-dev && \ - apk -X http://dl-cdn.alpinelinux.org/alpine/edge/testing add --no-cache leveldb && \ - apk --no-cache --update add build-base cmake boost-dev git +RUN apk update --no-cache && \ + # Update and then install dependencies + apk add unzip db zlib wrk wget libsodium-dev go bash libpthread-stubs db-dev && \ + apk -X http://dl-cdn.alpinelinux.org/alpine/edge/testing add leveldb && \ + apk add build-base cmake boost-dev git ENV PORT="" ENV NODE_KEY=""