mirror of
https://git.crystalyx.net/Xefir/repod.git
synced 2024-12-27 17:26:55 +01:00
fix: install gpodder directly on docker without downloading first
This commit is contained in:
parent
b69516031a
commit
8045dadf9f
@ -5,7 +5,6 @@ ENV NEXTCLOUD_ADMIN_USER repod
|
|||||||
ENV NEXTCLOUD_ADMIN_PASSWORD repod
|
ENV NEXTCLOUD_ADMIN_PASSWORD repod
|
||||||
ENV NEXTCLOUD_INIT_HTACCESS 1
|
ENV NEXTCLOUD_INIT_HTACCESS 1
|
||||||
ENV SQLITE_DATABASE repod
|
ENV SQLITE_DATABASE repod
|
||||||
ENV GPODDERSYNC_VERSION 3.8.2
|
|
||||||
|
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -y nodejs npm && \
|
apt-get install -y nodejs npm && \
|
||||||
@ -15,11 +14,9 @@ RUN apt-get update && \
|
|||||||
USER www-data
|
USER www-data
|
||||||
|
|
||||||
COPY --chown=www-data:www-data . apps/repod
|
COPY --chown=www-data:www-data . apps/repod
|
||||||
RUN curl -sSLo /tmp/gpoddersync.tar.gz https://github.com/thrillfall/nextcloud-gpodder/releases/download/${GPODDERSYNC_VERSION}/gpoddersync.tar.gz && \
|
RUN cd apps/repod && make build && cd - && \
|
||||||
tar xvzf /tmp/gpoddersync.tar.gz -C apps && \
|
php occ app:install gpoddersync && \
|
||||||
rm /tmp/gpoddersync.tar.gz && \
|
php occ app:enable repod && \
|
||||||
cd apps/repod && make build && cd - && \
|
|
||||||
php occ app:enable gpoddersync repod && \
|
|
||||||
php occ config:system:set debug --value=true
|
php occ config:system:set debug --value=true
|
||||||
|
|
||||||
USER root
|
USER root
|
||||||
|
Loading…
Reference in New Issue
Block a user