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

Fix Dockerfile #365

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.18-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