Merge branch 'podman-shared-mime' into 'master'

Podman: Use named debian image, add appstream dependency

See merge request redox-os/redox!1443
This commit is contained in:
Jeremy Soller 2024-05-14 22:17:52 +00:00
commit 38d3c7ac38

View file

@ -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 \ && apt-get install -y --no-install-recommends \
appstream \
autoconf \ autoconf \
automake \ automake \
autopoint \ autopoint \
@ -41,21 +47,15 @@ RUN apt-get update \
rsync \ rsync \
wget \ wget \
python3 \ python3 \
make \ make \
xdg-utils \ xdg-utils \
zip \ zip \
unzip \ unzip \
llvm \ llvm \
clang \ clang \
perl \ perl \
doxygen \ doxygen \
ant \ ant \
protobuf-compiler \ protobuf-compiler \
intltool 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