From 38535d43b1cd1da1ff285f56cd0f4fff1fbae06e Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Mon, 22 Jun 2020 18:36:05 +0200 Subject: [PATCH] Switch to full node image for compiling Signed-off-by: Knut Ahlers --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2ac5ce1..cb8b3e5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:alpine as builder +FROM node as builder COPY . /src WORKDIR /src @@ -8,7 +8,9 @@ RUN set -ex \ && npm run build RUN set -ex \ - && apk add curl \ + && apt-get update \ + && apt-get install -y \ + curl \ && curl -sSfLo /tmp/dumb-init "https://github.com/Yelp/dumb-init/releases/download/v1.2.2/dumb-init_1.2.2_amd64" \ && chmod +x /tmp/dumb-init \ && curl -sSfL "https://github.com/Luzifer/korvike/releases/download/v0.5.0/korvike_linux_amd64.tar.gz" | tar -xz -C /tmp