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
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: gargoton.petite-maison-orange.fr
|
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
|
password: ${{ secrets.GARGOTONTOKEN }} # Assurez-vous d'ajouter ce secret dans Gitea
|
||||||
|
|
||||||
- name: Build Docker image
|
- name: Build Docker image
|
||||||
|
|||||||
@@ -137,6 +137,8 @@ RUN \
|
|||||||
&& apt install -y libzmq5 \
|
&& apt install -y libzmq5 \
|
||||||
&& apt install -y libldap-2.5-0 \
|
&& apt install -y libldap-2.5-0 \
|
||||||
&& apt install -y libsasl2-2 \
|
&& apt install -y libsasl2-2 \
|
||||||
|
&& apt install -y libnspr4 \
|
||||||
|
&& apt install -y libnss3 \
|
||||||
&& apt install -y imagemagick \
|
&& apt install -y imagemagick \
|
||||||
&& apt install -y bash \
|
&& apt install -y bash \
|
||||||
&& apt install -y sudo \
|
&& apt install -y sudo \
|
||||||
@@ -144,8 +146,11 @@ RUN \
|
|||||||
|
|
||||||
|
|
||||||
COPY --from=build /app /app
|
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}
|
USER ${PUID}:${PGID}
|
||||||
|
|
||||||
|
|||||||
@@ -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:
|
Build the image on mac OS with orbstack docker:
|
||||||
```bash
|
```bash
|
||||||
docker build . --platform linux/amd64 --debug
|
docker build . --platform linux/amd64 --debug
|
||||||
```
|
```
|
||||||
|
|
||||||
|
libcalibre-launcher.so
|
||||||
|
libjpeg.so.8
|
||||||
|
libpython3.11.so.1.0
|
||||||
|
|||||||
Reference in New Issue
Block a user