Reengineed the code. Generalized the package. Cloud configurators are modules.
This commit is contained in:
@@ -8,12 +8,15 @@ RUN apt-get update \
|
||||
build-essential \
|
||||
dpkg-dev \
|
||||
debhelper \
|
||||
lintian \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
WORKDIR /build
|
||||
COPY . src/
|
||||
RUN cd src && dpkg-buildpackage -us -uc -b
|
||||
|
||||
RUN lintian --no-tag-display-limit /build/*.changes || true
|
||||
|
||||
RUN mkdir /out \
|
||||
&& find /build -maxdepth 1 \( -name '*.deb' -o -name '*.buildinfo' -o -name '*.changes' \) \
|
||||
-exec install -o "$HOST_UID" -g "$HOST_GID" -m 0644 {} /out/ \;
|
||||
|
||||
Reference in New Issue
Block a user