1
0
mirror of https://github.com/Luzifer/browserphone.git synced 2024-09-18 22:52:57 +00:00

Switch to full node image for compiling

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2020-06-22 18:36:05 +02:00
parent 22ca06fa5b
commit 38535d43b1
Signed by: luzifer
GPG Key ID: DC2729FDD34BE99E

View File

@ -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