--- a/Dockerfile Fri Mar 03 19:26:38 2023 +0100
+++ b/Dockerfile Thu Sep 28 22:29:30 2023 +0200
@@ -1,24 +1,26 @@
# Dockerfile to setup beremiz_public_dist build container
-FROM ubuntu:focal
+FROM ubuntu:jammy
ENV TERM xterm-256color
-COPY provision_focal64.sh .
-
-RUN ./provision_focal64.sh
-
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
-ARG UNAME=devel
+ARG UNAME=runner
ENV UNAME ${UNAME}
ARG UID=1000
ARG GID=1000
RUN groupadd -g $GID $UNAME
RUN useradd -m -u $UID -g $GID -s /bin/bash $UNAME
+USER root
+
+COPY ./provision_jammy64.sh .
+
+RUN ./provision_jammy64.sh
+
# easy to remember 'build' alias to invoke main makefile
ARG OWNDIRBASENAME=beremiz_public_dist
ENV OWNDIRBASENAME ${OWNDIRBASENAME}