exclude init.d and friends

This commit is contained in:
John
2022-02-06 10:57:26 +01:00
parent 13c121704b
commit 0a790983d3
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ LABEL version="${EBUSD_VERSION}-${EBUSD_ARCH}-devel"
COPY --from=build /build/ebusd-*_mqtt1.deb ebusd.deb
RUN dpkg -i ebusd.deb \
RUN dpkg -i "--path-exclude=/etc/default/*" "--path-exclude=/etc/init.d/*" "--path-exclude=/lib/systemd/*" ebusd.deb \
&& ebusd -V \
&& rm -f ebusd.deb
+1 -1
View File
@@ -43,7 +43,7 @@ LABEL version="${EBUSD_VERSION}-${EBUSD_ARCH}"
ADD https://github.com/john30/ebusd/releases/download/v${EBUSD_VERSION}/ebusd-${EBUSD_VERSION}_${TARGETARCH}${TARGETVARIANT}-${EBUSD_IMAGE}_mqtt1.deb ebusd.deb
RUN dpkg -i ebusd.deb \
RUN dpkg -i "--path-exclude=/etc/default/*" "--path-exclude=/etc/init.d/*" "--path-exclude=/lib/systemd/*" ebusd.deb \
&& ebusd -V \
&& rm -f ebusd.deb
+1 -1
View File
@@ -43,7 +43,7 @@ LABEL version="${EBUSD_VERSION}-${EBUSD_ARCH}%EBUSD_VERSION_VARIANT%"
%EBUSD_COPYDEB%
RUN dpkg -i ebusd.deb \
RUN dpkg -i "--path-exclude=/etc/default/*" "--path-exclude=/etc/init.d/*" "--path-exclude=/lib/systemd/*" ebusd.deb \
&& ebusd -V \
&& rm -f ebusd.deb