From f79a9b9337dae7b977b612191fa687f73fba5914 Mon Sep 17 00:00:00 2001 From: Ultimator14 Date: Mon, 18 Oct 2021 02:37:40 +0200 Subject: [PATCH] Fix Dockerfile --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3cdf577c..7da0cbb8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,12 @@ # Build go-neb FROM golang:1.16-alpine as builder -RUN apk add --no-cache -t build-deps git gcc musl-dev go make g++ +RUN apk add --no-cache -t build-deps git gcc musl-dev go make cmake g++ RUN git clone https://gitlab.matrix.org/matrix-org/olm.git /tmp/libolm \ && cd /tmp/libolm \ - && make install + && cmake . -Bbuild \ + && cmake --build build --target install COPY . /tmp/go-neb WORKDIR /tmp/go-neb