Support upgrading base upstream image.

This will ensure latest available security patches are applied on each build.
Some upstream images take months to be updated.
This commit is contained in:
Zachary Fouts committed 2024-06-07 14:37:07 +00:00
1 parent 82524a12b2
commit 6572577859
1 file changed
+3 -1
+3 -1
View File
@@ -30,6 +30,7 @@ RUN echo "TARGETPLATFORM: ${TARGETPLATFORM}"; \
else \
echo "Building from scratch"; \
apt-get update && \
apt-get upgrade -y && \
apt-get install -y --no-install-recommends \
build-essential \
openssl \
@@ -58,6 +59,7 @@ LABEL maintainer="$OWNER"
# hadolint ignore=DL3008
RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y --no-install-recommends \
openssl \
dnsutils \
@@ -83,9 +85,9 @@ RUN gst-inspect-1.0; \
"/usr/local/bin/neolink" --version && \
mkdir -m 0700 /root/.config/
ENV NEO_LINK_MODE="rtsp" NEO_LINK_PORT=8554
CMD /usr/local/bin/neolink "${NEO_LINK_MODE}" --config /etc/neolink.toml
ENTRYPOINT ["/entrypoint.sh"]
EXPOSE ${NEO_LINK_PORT}