1
0
Fork 0
mirror of https://github.com/Luzifer/browserphone.git synced 2024-11-09 14:20:04 +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