mirror of
https://github.com/deuill/coreos-home-server.git
synced 2024-09-21 05:30:45 +00:00
slidge: Update to latest version
And fix Dockerfile for changes in build.
This commit is contained in:
parent
e99faa5450
commit
03d4fdcc05
@ -3,7 +3,7 @@ FROM docker.io/debian:bullseye-slim AS builder
|
|||||||
RUN apt-get update -y && apt-get install -y --no-install-recommends \
|
RUN apt-get update -y && apt-get install -y --no-install-recommends \
|
||||||
ca-certificates git curl python3 python3-pip python3-venv
|
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 && \
|
RUN git clone https://git.sr.ht/~nicoco/slidge /slidge && \
|
||||||
cd /slidge && git reset --hard ${VERSION}
|
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 -
|
RUN curl -fL https://install.python-poetry.org | python3 -
|
||||||
|
|
||||||
ARG PLUGINS="skype discord"
|
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
|
python3 -m pip install --requirement requirements.txt
|
||||||
|
|
||||||
RUN cp -R /slidge/slidge /venv/lib/python3.9/site-packages/slidge
|
RUN cp -R /slidge/slidge /venv/lib/python3.9/site-packages/slidge
|
||||||
@ -36,7 +36,7 @@ ENV PYTHONUNBUFFERED=1
|
|||||||
ENV PATH=/venv/bin:$PATH
|
ENV PATH=/venv/bin:$PATH
|
||||||
|
|
||||||
RUN apt-get update -y && apt-get install -y --no-install-recommends \
|
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 addgroup --system --gid 10000 slidge
|
||||||
RUN adduser --system --uid 10000 --ingroup slidge --home /var/lib/slidge slidge
|
RUN adduser --system --uid 10000 --ingroup slidge --home /var/lib/slidge slidge
|
||||||
|
Loading…
Reference in New Issue
Block a user