From 31b69f5ad4e3d7706dfe31ca733035bcdb2ef37b Mon Sep 17 00:00:00 2001 From: Aaryamann Challani <43716372+rymnc@users.noreply.github.com> Date: Thu, 6 Oct 2022 17:13:45 +0530 Subject: [PATCH] fix(Dockerfile): use alpine edge (#1241) There will be a follow up PR to tighten the base image used with a sha256 hash --- Dockerfile | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Dockerfile b/Dockerfile index fbca789a3..90c04f2a1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # BUILD IMAGE -------------------------------------------------------- -FROM alpine:3.16 AS nim-build +FROM alpine:edge AS nim-build ARG NIMFLAGS ARG MAKE_TARGET=wakunode2 @@ -9,15 +9,6 @@ ARG RLN=true # Get build tools and required header files RUN apk add --no-cache bash git cargo build-base pcre-dev linux-headers -# Install newer rust than 1.62 as required by ethers-core. -ENV PKG=rust-1.64.0-x86_64-unknown-linux-musl -RUN wget -q https://static.rust-lang.org/dist/$PKG.tar.gz \ - && tar xf $PKG.tar.gz \ - && cd $PKG \ - && ./install.sh --components=rustc,cargo,rust-std-x86_64-unknown-linux-musl \ - && cd - \ - && rm -r $PKG $PKG.tar.gz - WORKDIR /app COPY . .