Improve packaging
This commit is contained in:
20
docker/Dockerfile-ubuntu
Normal file
20
docker/Dockerfile-ubuntu
Normal file
@@ -0,0 +1,20 @@
|
||||
ARG DISTRO=ubuntu
|
||||
ARG RELEASE=noble
|
||||
|
||||
FROM ${DISTRO}:${RELEASE}
|
||||
|
||||
ARG DISTRO
|
||||
ARG RELEASE
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
dpkg-dev \
|
||||
build-essential \
|
||||
fakeroot \
|
||||
make \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN echo -e "#!/bin/bash\nmake actually-package-${DISTRO}-${RELEASE}" > /init.sh \
|
||||
&& chmod 755 /init.sh
|
||||
|
||||
WORKDIR /src
|
||||
CMD ["/bin/bash", "/init.sh"]
|
||||
Reference in New Issue
Block a user