From d675b934057e59a28d287a714371593cc33dc360 Mon Sep 17 00:00:00 2001 From: Enzo Candotti Date: Wed, 14 Jun 2023 00:33:46 -0300 Subject: [PATCH] Update Debian base image to version 11 An update on the Debian container specified as 'debian' produced that some packages like libpython2.7 and postgresql-13 were not found, causing the daily builds to fail. This commit specifies the version to be used as a base image in order to fix that problem. Test Plan: PASS: Build stx-snmp, stx-fm-trap-subagent and stx-fm-subagent. Verify all the containers can be built properly. Closes-Bug: 2023703 Signed-off-by: Enzo Candotti Change-Id: Ic4a2c69ea97ecfea3463c09d6de1b5c9dcdde6d3 (cherry picked from commit c7d206abbf7267077dbf0e31b00b0d20e06977de) --- stx-snmp-helm/docker/stx-fm-subagent/Dockerfile.debian | 2 +- stx-snmp-helm/docker/stx-fm-trap-subagent/Dockerfile.debian | 2 +- stx-snmp-helm/docker/stx-snmp/Dockerfile.debian | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/stx-snmp-helm/docker/stx-fm-subagent/Dockerfile.debian b/stx-snmp-helm/docker/stx-fm-subagent/Dockerfile.debian index c47a1bb..6201f95 100644 --- a/stx-snmp-helm/docker/stx-fm-subagent/Dockerfile.debian +++ b/stx-snmp-helm/docker/stx-fm-subagent/Dockerfile.debian @@ -7,7 +7,7 @@ RUN apt-get -y install\ fm-common \ fm-common-dev -FROM debian AS base +FROM debian:11 AS base RUN apt-get -y update RUN apt-get -y install\ snmp snmpd snmptrapd \ diff --git a/stx-snmp-helm/docker/stx-fm-trap-subagent/Dockerfile.debian b/stx-snmp-helm/docker/stx-fm-trap-subagent/Dockerfile.debian index f82661f..19a0581 100644 --- a/stx-snmp-helm/docker/stx-fm-trap-subagent/Dockerfile.debian +++ b/stx-snmp-helm/docker/stx-fm-trap-subagent/Dockerfile.debian @@ -1,4 +1,4 @@ -FROM debian AS base +FROM debian:11 AS base ENV DEBIAN_FRONTEND=noninteractive RUN apt-get -y update RUN apt-get -y install\ diff --git a/stx-snmp-helm/docker/stx-snmp/Dockerfile.debian b/stx-snmp-helm/docker/stx-snmp/Dockerfile.debian index f562af3..baff073 100755 --- a/stx-snmp-helm/docker/stx-snmp/Dockerfile.debian +++ b/stx-snmp-helm/docker/stx-snmp/Dockerfile.debian @@ -1,4 +1,4 @@ -FROM debian AS builder +FROM debian:11 AS builder ENV DEBIAN_FRONTEND=noninteractive RUN apt-get -y update RUN apt-get -y install\