continue to reduce size of the image.
Some checks failed
Build and Push Docker Image / build (push) Failing after 6m35s

This commit is contained in:
2024-12-27 17:08:01 +01:00
parent b50c0b6b2e
commit e19d071ce6
3 changed files with 13 additions and 4 deletions

View File

@@ -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

View File

@@ -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}

View File

@@ -5,4 +5,8 @@ diff -c cps/templates/remote_login.html ../calibre-web/cps/templates/remote_logi
Build the image on mac OS with orbstack docker:
```bash
docker build . --platform linux/amd64 --debug
```
```
libcalibre-launcher.so
libjpeg.so.8
libpython3.11.so.1.0