diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 70ded17aa5..61c33397f4 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -17,13 +17,14 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - version: ["16.04", "18.04", "20.04"] + version: ["16.04", "18.04", "20.04", "22.04"] steps: - name: Checkout uses: actions/checkout@main with: fetch-depth: 0 persist-credentials: false + - name: Fetch origin/master from Git run: git fetch origin master diff --git a/Dockerfile b/Dockerfile index 9c14792f9c..9c20b42125 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ ARG DEBIAN_FRONTEND=noninteractive # hadolint ignore=DL3008 RUN apt-get update \ - && apt-get install -y --no-install-recommends software-properties-common \ + && apt-get install -y --no-install-recommends software-properties-common gnupg-agent \ && add-apt-repository -y ppa:git-core/ppa \ && apt-get update \ && apt-get install -y --no-install-recommends \ @@ -27,6 +27,8 @@ RUN apt-get update \ sudo \ uuid-runtime \ tzdata \ + && apt remove --purge -y software-properties-common \ + && apt autoremove --purge -y \ && rm -rf /var/lib/apt/lists/* \ && localedef -i en_US -f UTF-8 en_US.UTF-8 \ && useradd -m -s /bin/bash linuxbrew \