From c040f95e25fc98aa783f55bbb929ae0af9bed177 Mon Sep 17 00:00:00 2001 From: PIE <5127945-PIEpi@users.noreply.gitlab.com> Date: Sun, 9 Feb 2020 16:39:29 +0000 Subject: [PATCH] Dockerfile: add arm64 support --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 607e222..eb9e648 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # backend build (api server) FROM golang:1.12-alpine AS api-build -RUN apk add --no-cache --update bash make git curl +RUN apk add --no-cache --update bash dep make git curl g++ COPY ./api /go/src/commento/api/ WORKDIR /go/src/commento/api @@ -10,7 +10,7 @@ RUN make prod -j$(($(nproc) + 1)) # frontend build (html, js, css, images) FROM node:10-alpine AS frontend-build -RUN apk add --no-cache --update bash make +RUN apk add --no-cache --update bash make python2 g++ COPY ./frontend /commento/frontend WORKDIR /commento/frontend/