run ebusd -V at last

This commit is contained in:
John
2022-02-19 12:16:04 +01:00
parent 2d45fb20a0
commit 095bb616ba
4 changed files with 11 additions and 12 deletions
+3 -4
View File
@@ -43,10 +43,9 @@ 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 "--path-exclude=/etc/default/*" "--path-exclude=/etc/init.d/*" "--path-exclude=/lib/systemd/*" ebusd.deb \
&& ebusd -V \
&& rm -f ebusd.deb \
&& update-ca-certificates
RUN dpkg -i "--path-exclude=/etc/default/*" "--path-exclude=/etc/init.d/*" "--path-exclude=/lib/systemd/*" ebusd.deb && rm -f ebusd.deb \
&& update-ca-certificates \
&& ebusd -V
EXPOSE 8888