From 51a97571a002a0650c66e645c68ac39d0b946414 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Wed, 22 Jan 2020 09:08:05 -0700 Subject: [PATCH] Use debian to build the Docker image Fixes not having certain OS capabilities to build some packages. --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index a180be1074..8d83af0aa8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Builder -FROM node:10-alpine as builder +FROM node:10 as builder # Support custom branches of the react-sdk and js-sdk. This also helps us build # images of riot-web develop. @@ -9,7 +9,7 @@ ARG REACT_SDK_BRANCH="master" ARG JS_SDK_REPO="https://github.com/matrix-org/matrix-js-sdk.git" ARG JS_SDK_BRANCH="master" -RUN apk add --no-cache git dos2unix +RUN apt-get update && apt-get install -y git dos2unix WORKDIR /src