as in previous message

This commit is contained in:
arjan 2026-05-20 14:33:34 +00:00
parent ce19be2e68
commit f5f88e79fb
2 changed files with 13 additions and 3 deletions

View file

@ -1,11 +1,16 @@
# Podman Containerfile
# build via compose.yml or:
# podman image build -q -t debian:podman-trixie -f Containerfile .
FROM debian:trixie
ENV DEBIAN_FRONTEND=noninteractive
ENV DEBIAN_FRONTEND="noninteractive"
RUN apt update && apt -y install perl cpanminus libaspell-dev make libdbd-mysql-perl libdigest-perl-md5-perl libxml-simple-perl \
libmodule-install-perl gcc libperl-dev default-libmysqlclient-dev libpng-dev build-essential libgd-dev mariadb-client imagemagick \
libpng-dev libjpeg-dev libtiff-dev libapache2-mod-perl2 libapache2-mod-perl2-dev libapache2-request-perl libimage-magick-perl vim \
apache2 apache2-utils mailutils
apache2 apache2-utils mailutils \
# could be removed for production:
curl procps
RUN cpanm --notest --no-cache --force \
@ -168,6 +173,11 @@ RUN useradd --home=/data/WebGUI webgui; chown -R webgui: /data/WebGUI; chmod 755
#USER webgui
# zorgt voor een andere shell prompt in de container gestart in de development container
# ook wanneer die in dezelfde UTC namespace zit - always /after/ USER command
ENV CONTAINER_CONTEXT=inner
RUN printf '%s\n' 'export PS1="\u@${CONTAINER_CONTEXT}:\w\\$ "' >> ~/.bashrc
WORKDIR /data/WebGUI
CMD [ "/entrypoint" ]

View file

@ -29,7 +29,7 @@ services:
- "80"
nginx-proxy:
image: nginx:latest
image: docker.io/nginx:latest
container_name: nginx_proxy
depends_on:
- webgui