Update Dockerfile

This commit is contained in:
2025-04-02 11:36:53 +02:00
committed by GitHub
parent 3fc90950a9
commit 41a0bc3928

View File

@@ -6,6 +6,16 @@ RUN apt-get install -y software-properties-common
RUN add-apt-repository ppa:fdroid/fdroidserver
RUN apt-get update
RUN apt-get install -y fdroidserver
RUN apt-get -y update && \
apt-get -y dist-upgrade && \
apt-get -y install python3-pip
# we install a recent version of androguard
RUN git clone --recursive https://github.com/androguard/androguard.git && \
cd androguard && \
git reset --hard v4.1.2 && \
pip install . --break-system-packages
WORKDIR /fdroid
RUN fdroid init -v
RUN fdroid update
@@ -16,4 +26,4 @@ RUN curl -fsSL https://raw.githubusercontent.com/filebrowser/get/master/get.sh |
COPY ./settings/fb-settings.json /usr/local/.fbconfig/settings.json
COPY ./settings/fb-users.json /usr/local/.fbconfig/users.json
ENTRYPOINT []
CMD ["bash", "-c", "nginx && /usr/local/bin/filebrowser --config /usr/local/.fbconfig/settings.json"]
CMD ["bash", "-c", "nginx && /usr/local/bin/filebrowser --config /usr/local/.fbconfig/settings.json"]