From 2fcc663d1c77fb2fd78dc70e52fae3a55396d9fd Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 17 Apr 2024 21:17:54 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-UBUNTU2004-UTILLINUX-6508371 - https://snyk.io/vuln/SNYK-UBUNTU2004-UTILLINUX-6508371 - https://snyk.io/vuln/SNYK-UBUNTU2004-UTILLINUX-6508371 - https://snyk.io/vuln/SNYK-UBUNTU2004-UTILLINUX-6508371 - https://snyk.io/vuln/SNYK-UBUNTU2004-UTILLINUX-6508371 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8c32a6778a..84317d07b3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ubuntu:focal +FROM ubuntu:20.04 ## Usage: # docker build -t bacnet --target bacnet . @@ -44,7 +44,7 @@ RUN set -euxo pipefail; \ rm -rf bacnet-*/ -FROM ubuntu:focal AS bacnet +FROM ubuntu:20.04 AS bacnet WORKDIR /opt/bacnet COPY --from=builder /build/bin/* /opt/bacnet/bin/ EXPOSE 47808/udp