pgmon/docker/Dockerfile-ubuntu

21 lines
383 B
Plaintext
Raw Normal View History

2025-01-10 05:40:41 +00:00
ARG DISTRO=ubuntu
ARG RELEASE=noble
FROM ${DISTRO}:${RELEASE}
2025-01-08 23:34:51 +00:00
2025-01-25 06:33:30 +00:00
ARG DISTRO
ARG RELEASE
2025-01-08 23:34:51 +00:00
RUN apt-get update && apt-get install -y \
dpkg-dev \
build-essential \
fakeroot \
make \
&& rm -rf /var/lib/apt/lists/*
2025-01-25 06:33:30 +00:00
RUN echo -e "#!/bin/bash\nmake actually-package-${DISTRO}-${RELEASE}" > /init.sh \
&& chmod 755 /init.sh
2025-01-08 23:34:51 +00:00
WORKDIR /src
2025-01-25 06:33:30 +00:00
CMD ["/bin/bash", "/init.sh"]