Skip to content
This repository has been archived by the owner on Jun 28, 2023. It is now read-only.

Commit

Permalink
Fix Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Ultimator14 committed Oct 18, 2021
1 parent 67a82fc commit f79a9b9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit f79a9b9

Please sign in to comment.