Skip to content

Commit

Permalink
Remove php source. Add ffmpeg for preview
Browse files Browse the repository at this point in the history
  • Loading branch information
whitehara committed Jan 20, 2024
1 parent f870f4b commit 89afa4c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,17 @@
# see https://github.com/nextcloud/docker/tree/master/.examples/dockerfiles
FROM local-nextcloud

# Delete PHP source
RUN rm /usr/src/php.tar.xz*

# For getting the newest redis-server
RUN apt-get update && apt-get install -y lsb-release gpg && \
echo "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb $(lsb_release -cs) main" > /etc/apt/sources.list.d/redis.list && \
curl -fsSL https://packages.redis.io/gpg | gpg --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpg && \
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps;

RUN apt-get update && apt-get install -y \
supervisor procps smbclient redis imagemagick \
supervisor procps smbclient redis imagemagick ffmpeg \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir /var/log/supervisord /var/run/supervisord
Expand Down

0 comments on commit 89afa4c

Please sign in to comment.