Podman: Use named debian image, add appstream dependency
This commit is contained in:
parent
50c9d3d2ce
commit
68604cef70
|
@ -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
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue