Docker: Copy heif-convert.sh script to /usr/local/bin #2214

This commit is contained in:
Michael Mayer 2022-03-31 19:49:50 +02:00
parent 3698a860c6
commit 342904a4fa
5 changed files with 5 additions and 0 deletions

View file

@ -68,6 +68,7 @@ RUN echo 'APT::Acquire::Retries "3";' > /etc/apt/apt.conf.d/80retries && \
/photoprism/storage/cache \
&& \
echo "ALL ALL=(ALL) NOPASSWD:SETENV: /scripts/entrypoint-init.sh" >> /etc/sudoers.d/init && \
cp /scripts/heif-convert.sh /usr/local/bin/heif-convert && \
/scripts/cleanup.sh
# define default directory and user

View file

@ -68,6 +68,7 @@ RUN echo 'APT::Acquire::Retries "3";' > /etc/apt/apt.conf.d/80retries && \
/photoprism/storage/cache \
&& \
echo "ALL ALL=(ALL) NOPASSWD:SETENV: /scripts/entrypoint-init.sh" >> /etc/sudoers.d/init && \
cp /scripts/heif-convert.sh /usr/local/bin/heif-convert && \
/scripts/cleanup.sh
# define default directory and user

View file

@ -127,6 +127,7 @@ RUN echo 'APT::Acquire::Retries "3";' > /etc/apt/apt.conf.d/80retries && \
/photoprism/storage/cache \
&& \
echo "ALL ALL=(ALL) NOPASSWD:SETENV: /scripts/entrypoint-init.sh" >> /etc/sudoers.d/init && \
cp /scripts/heif-convert.sh /usr/local/bin/heif-convert && \
/scripts/cleanup.sh
# define default directory and user

View file

@ -128,6 +128,7 @@ RUN echo 'APT::Acquire::Retries "3";' > /etc/apt/apt.conf.d/80retries && \
/photoprism/storage/cache \
&& \
echo "ALL ALL=(ALL) NOPASSWD:SETENV: /scripts/entrypoint-init.sh" >> /etc/sudoers.d/init && \
cp /scripts/heif-convert.sh /usr/local/bin/heif-convert && \
/scripts/cleanup.sh
# define default directory and user

View file

@ -127,6 +127,7 @@ RUN echo 'APT::Acquire::Retries "3";' > /etc/apt/apt.conf.d/80retries && \
/photoprism/storage/cache \
&& \
echo "ALL ALL=(ALL) NOPASSWD:SETENV: /scripts/entrypoint-init.sh" >> /etc/sudoers.d/init && \
cp /scripts/heif-convert.sh /usr/local/bin/heif-convert && \
/scripts/cleanup.sh
# define default directory and user