Use debian to build the Docker image

Fixes not having certain OS capabilities to build some packages.
This commit is contained in:
Travis Ralston 2020-01-22 09:08:05 -07:00
parent 3036bab1c6
commit 51a97571a0
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
# Builder # 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 # Support custom branches of the react-sdk and js-sdk. This also helps us build
# images of riot-web develop. # 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_REPO="https://github.com/matrix-org/matrix-js-sdk.git"
ARG JS_SDK_BRANCH="master" ARG JS_SDK_BRANCH="master"
RUN apk add --no-cache git dos2unix RUN apt-get update && apt-get install -y git dos2unix
WORKDIR /src WORKDIR /src