run ebusd -V at last
This commit is contained in:
@@ -43,10 +43,9 @@ LABEL version="${EBUSD_VERSION}-${EBUSD_ARCH}-devel"
|
||||
|
||||
COPY --from=build /build/ebusd-*_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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -43,10 +43,9 @@ LABEL version="${EBUSD_VERSION}-${EBUSD_ARCH}%EBUSD_VERSION_VARIANT%"
|
||||
|
||||
%EBUSD_COPYDEB%
|
||||
|
||||
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_DEBSRC% \
|
||||
&& update-ca-certificates \
|
||||
&& ebusd -V
|
||||
|
||||
EXPOSE 8888
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@ function replaceTemplate () {
|
||||
-e "s#%EBUSD_VERSION_VARIANT%#${version_variant}#g" \
|
||||
-e "s#%EBUSD_UPLOAD_LINES%#${upload_lines}#g" \
|
||||
-e "s#%EBUSD_COPYDEB%#${copydeb}#g" \
|
||||
-e "s#%EBUSD_DEBSRC%#${debsrc}#g" \
|
||||
-e "s#%EBUSD_COPYENTRY%#${copyentry}#g" \
|
||||
Dockerfile.template > "$file"
|
||||
echo "updated $file"
|
||||
@@ -17,6 +18,7 @@ version_variant='-devel'
|
||||
make='RUNTEST=full ./make_debian.sh'
|
||||
upload_lines=''
|
||||
copydeb='COPY --from=build /build/ebusd-*_mqtt1.deb ebusd.deb'
|
||||
debsrc='ebusd.deb \&\& rm -f ebusd.deb'
|
||||
copyentry='COPY --from=build /build/contrib/docker/docker-entrypoint.sh /'
|
||||
namesuffix=''
|
||||
replaceTemplate
|
||||
|
||||
Reference in New Issue
Block a user