From 03d4fdcc058fcdb857fac00c3d968e5186a7f685 Mon Sep 17 00:00:00 2001 From: Alex Palaistras Date: Sun, 5 Mar 2023 18:40:48 +0000 Subject: [PATCH] slidge: Update to latest version And fix Dockerfile for changes in build. --- service/slidge/Containerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/service/slidge/Containerfile b/service/slidge/Containerfile index 3f8436c..c66c1e4 100644 --- a/service/slidge/Containerfile +++ b/service/slidge/Containerfile @@ -3,7 +3,7 @@ FROM docker.io/debian:bullseye-slim AS builder RUN apt-get update -y && apt-get install -y --no-install-recommends \ ca-certificates git curl python3 python3-pip python3-venv -ARG VERSION=5ccc3320f698231dbd90a48379c5ca18532d115b +ARG VERSION=841cb0856d54e7313f64b00080c7c84227631e55 RUN git clone https://git.sr.ht/~nicoco/slidge /slidge && \ cd /slidge && git reset --hard ${VERSION} @@ -12,7 +12,7 @@ RUN python3 -m venv /venv && python3 -m pip install wheel RUN curl -fL https://install.python-poetry.org | python3 - ARG PLUGINS="skype discord" -RUN cd /slidge && poetry export --extras="$PLUGINS" > requirements.txt && \ +RUN cd /slidge && poetry export --extras="$PLUGINS" --without-hashes > requirements.txt && \ python3 -m pip install --requirement requirements.txt RUN cp -R /slidge/slidge /venv/lib/python3.9/site-packages/slidge @@ -36,7 +36,7 @@ ENV PYTHONUNBUFFERED=1 ENV PATH=/venv/bin:$PATH RUN apt-get update -y && apt-get install -y --no-install-recommends \ - ca-certificates python3 libpython3.9 python3-gdbm + ca-certificates python3 libpython3.9 python3-gdbm media-types RUN addgroup --system --gid 10000 slidge RUN adduser --system --uid 10000 --ingroup slidge --home /var/lib/slidge slidge