Skip to content
This repository was archived by the owner on Jun 28, 2023. It is now read-only.
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