From fb1c9e2cfa0c2f22080d8bbeebebd442945d2cb3 Mon Sep 17 00:00:00 2001 From: Adam Chalkley Date: Mon, 29 Jul 2024 05:27:34 -0500 Subject: [PATCH] Add `file` for stable, oldstable and unstable imgs Add `file` to linting images: - `go-ci-stable` - `go-ci-oldstable` - `go-ci-unstable` This provides the requested tool for use with CodeQL GitHub Actions jobs. refs GH-1636 --- oldstable/combined/Dockerfile | 2 ++ stable/combined/Dockerfile | 2 ++ unstable/combined/Dockerfile | 2 ++ 3 files changed, 6 insertions(+) diff --git a/oldstable/combined/Dockerfile b/oldstable/combined/Dockerfile index 763a0f8a..8be3a485 100644 --- a/oldstable/combined/Dockerfile +++ b/oldstable/combined/Dockerfile @@ -39,11 +39,13 @@ ENV GOTESTDOX_VERSION="v0.2.2" ENV APT_BSDMAINUTILS_VERSION="12.1.8" ENV APT_TREE_VERSION="2.1.0-1" +ENV APT_FILE_VERSION="1:5.44-3" RUN apt-get update \ && apt-get install -y --no-install-recommends \ bsdmainutils=${APT_BSDMAINUTILS_VERSION} \ tree=${APT_TREE_VERSION} \ + file=${APT_FILE_VERSION} \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* \ \ diff --git a/stable/combined/Dockerfile b/stable/combined/Dockerfile index 9c0a570a..fe359f6e 100644 --- a/stable/combined/Dockerfile +++ b/stable/combined/Dockerfile @@ -146,11 +146,13 @@ ENV GOTESTDOX_VERSION="v0.2.2" ENV APT_BSDMAINUTILS_VERSION="12.1.8" ENV APT_TREE_VERSION="2.1.0-1" +ENV APT_FILE_VERSION="1:5.44-3" RUN apt-get update \ && apt-get install -y --no-install-recommends \ bsdmainutils=${APT_BSDMAINUTILS_VERSION} \ tree=${APT_TREE_VERSION} \ + file=${APT_FILE_VERSION} \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* diff --git a/unstable/combined/Dockerfile b/unstable/combined/Dockerfile index 000f98b2..83417495 100644 --- a/unstable/combined/Dockerfile +++ b/unstable/combined/Dockerfile @@ -148,11 +148,13 @@ ENV GOTESTDOX_VERSION="v0.2.2" ENV APT_BSDMAINUTILS_VERSION="12.1.8" ENV APT_TREE_VERSION="2.1.0-1" +ENV APT_FILE_VERSION="1:5.44-3" RUN apt-get update \ && apt-get install -y --no-install-recommends \ bsdmainutils=${APT_BSDMAINUTILS_VERSION} \ tree=${APT_TREE_VERSION} \ + file=${APT_FILE_VERSION} \ && apt-get clean \ && rm -rf /var/lib/apt/lists/*