diff --git a/podman/redox-base-containerfile b/podman/redox-base-containerfile index 53d4e70..742323e 100644 --- a/podman/redox-base-containerfile +++ b/podman/redox-base-containerfile @@ -1,7 +1,13 @@ -FROM ubuntu:latest +FROM debian:bookworm-20240513-slim -RUN apt-get update \ +# _UID_ must be replaced with the user's uid on host +# podman root is mapped to your user id on host during build, +# poduser is mapped to your user id during podman run +RUN useradd --create-home --no-log-init --uid _UID_ poduser \ + && chown -R root:root /home \ + && apt-get update \ && apt-get install -y --no-install-recommends \ + appstream \ autoconf \ automake \ autopoint \ @@ -41,21 +47,15 @@ RUN apt-get update \ rsync \ wget \ python3 \ - make \ - xdg-utils \ - zip \ - unzip \ - llvm \ - clang \ - perl \ + make \ + xdg-utils \ + zip \ + unzip \ + llvm \ + clang \ + perl \ doxygen \ ant \ protobuf-compiler \ intltool -# _UID_ must be replaced with the user's uid on host -# podman root is mapped to your user id on host during build, -# poduser is mapped to your user id during podman run -RUN useradd --create-home --no-log-init --uid _UID_ poduser && \ - chown -R root:root /home -