21 lines
381 B
Plaintext
21 lines
381 B
Plaintext
ARG DISTRO=debian
|
|
ARG RELEASE=11
|
|
|
|
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"]
|