continue to reduce size of the image.
Some checks failed
Build and Push Docker Image / build (push) Failing after 6m35s
Some checks failed
Build and Push Docker Image / build (push) Failing after 6m35s
This commit is contained in:
@@ -20,7 +20,7 @@ jobs:
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: gargoton.petite-maison-orange.fr
|
||||
username: eric # Assurez-vous d'ajouter ce secret dans Gitea
|
||||
username: eric
|
||||
password: ${{ secrets.GARGOTONTOKEN }} # Assurez-vous d'ajouter ce secret dans Gitea
|
||||
|
||||
- name: Build Docker image
|
||||
|
||||
@@ -137,6 +137,8 @@ RUN \
|
||||
&& apt install -y libzmq5 \
|
||||
&& apt install -y libldap-2.5-0 \
|
||||
&& apt install -y libsasl2-2 \
|
||||
&& apt install -y libnspr4 \
|
||||
&& apt install -y libnss3 \
|
||||
&& apt install -y imagemagick \
|
||||
&& apt install -y bash \
|
||||
&& apt install -y sudo \
|
||||
@@ -144,8 +146,11 @@ RUN \
|
||||
|
||||
|
||||
COPY --from=build /app /app
|
||||
COPY --from=build /opt /
|
||||
|
||||
COPY --from=build /opt/calibre/bin /app/bin
|
||||
COPY --from=build /opt/calibre/lib/libcalibre-launcher.so /usr/lib/libcalibre-launcher.so
|
||||
COPY --from=build /opt/calibre/lib/libjpeg.so.8 /usr/lib/libjpeg.so.8
|
||||
COPY --from=build /opt/calibre/lib/libpython3.11.so.1.0 /usr/lib/libpython3.11.so.1.0
|
||||
COPY --from=build /opt/calibre/lib/libpoppler.so.130 /usr/lib/libpoppler.so.130
|
||||
|
||||
USER ${PUID}:${PGID}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user