exclude init.d and friends
This commit is contained in:
@@ -43,7 +43,7 @@ LABEL version="${EBUSD_VERSION}-${EBUSD_ARCH}-devel"
|
|||||||
|
|
||||||
COPY --from=build /build/ebusd-*_mqtt1.deb ebusd.deb
|
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 \
|
&& ebusd -V \
|
||||||
&& rm -f ebusd.deb
|
&& rm -f ebusd.deb
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
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 \
|
&& ebusd -V \
|
||||||
&& rm -f ebusd.deb
|
&& rm -f ebusd.deb
|
||||||
|
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ LABEL version="${EBUSD_VERSION}-${EBUSD_ARCH}%EBUSD_VERSION_VARIANT%"
|
|||||||
|
|
||||||
%EBUSD_COPYDEB%
|
%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 \
|
&& ebusd -V \
|
||||||
&& rm -f ebusd.deb
|
&& rm -f ebusd.deb
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user