Compare commits

...

2 commits

Author SHA1 Message Date
arjan
de02240022 added ssh to tools for devcontainer 2026-05-20 16:36:18 +02:00
arjan
f5f88e79fb as in previous message 2026-05-20 14:33:34 +00:00
3 changed files with 14 additions and 4 deletions

View file

@ -9,7 +9,7 @@ ENV DEBIAN_FRONTEND="noninteractive"
RUN apt-get update && \
apt-get install -y --no-install-recommends podman podman-compose \
fuse-overlayfs slirp4netns uidmap iptables aardvark-dns nftables ca-certificates sudo \
git && \
git ssh && \
apt-get upgrade -y
RUN useradd webgui -s /bin/bash && \

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