Skip to content

Instantly share code, notes, and snippets.

@aspacca
aspacca / Dockerfile
Created May 26, 2022 08:00
pantalaimon Dockerfile with dbus and panctl
FROM python:3.8-slim-bullseye AS builder
RUN mkdir -p /app
RUN apt-get update && apt-get install -y git gcc clang cmake g++ pkg-config python3-dev wget libcairo2-dev libgirepository1.0-dev libdbus-1-3 libdbus-1-dev
WORKDIR /app
RUN wget https://gitlab.matrix.org/matrix-org/olm/-/archive/master/olm-master.tar.bz2 \
&& tar -xvf olm-master.tar.bz2 \
&& cd olm-master && make && make PREFIX="/usr" install