refs #7295 - Update base docker image to bookworm and godex ppds
gitea/printnatura/pipeline/pr-master This commit looks good
Details
gitea/printnatura/pipeline/pr-master This commit looks good
Details
This commit is contained in:
parent
23505a70f3
commit
7c4b4b360c
18
Dockerfile
18
Dockerfile
|
@ -1,4 +1,4 @@
|
|||
FROM debian:bullseye-slim
|
||||
FROM debian:bookworm-slim
|
||||
|
||||
ENV TZ Europe/Madrid
|
||||
|
||||
|
@ -8,20 +8,18 @@ RUN apt-get update \
|
|||
curl \
|
||||
ca-certificates \
|
||||
sudo \
|
||||
libcupsimage2
|
||||
|
||||
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - \
|
||||
&& apt install -y nodejs \
|
||||
libcupsimage2 \
|
||||
nodejs \
|
||||
npm \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Cups
|
||||
|
||||
RUN useradd admin && usermod -g lpadmin admin
|
||||
|
||||
COPY ctzcls-cups_1.1.0-0_amd64.deb /tmp/
|
||||
RUN chmod a+x /tmp/ctzcls-cups_1.1.0-0_amd64.deb \
|
||||
&& dpkg -i /tmp/ctzcls-cups_1.1.0-0_amd64.deb
|
||||
|
||||
RUN mkdir -p /usr/share/ppds/godex
|
||||
COPY ppds/* /usr/share/ppds/godex
|
||||
|
||||
# Printnatura
|
||||
|
||||
WORKDIR /printnatura
|
||||
|
@ -42,4 +40,4 @@ COPY \
|
|||
COPY sql sql
|
||||
|
||||
ENTRYPOINT ["/printnatura/entrypoint.sh"]
|
||||
CMD ["node", "main.js"]
|
||||
CMD ["node", "main.js"]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
version: '3.7'
|
||||
version: '3.8'
|
||||
services:
|
||||
main:
|
||||
image: registry.verdnatura.es/printnatura:${VERSION:?}
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue