Merge pull request #13186 from Homebrew/jammy

workflows/docker: add 22.04
This commit is contained in:
Bo Anderson 2022-04-26 22:04:17 +01:00 committed by GitHub
commit 1baa340158
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -17,13 +17,14 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
version: ["16.04", "18.04", "20.04"] version: ["16.04", "18.04", "20.04", "22.04"]
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@main uses: actions/checkout@main
with: with:
fetch-depth: 0 fetch-depth: 0
persist-credentials: false persist-credentials: false
- name: Fetch origin/master from Git - name: Fetch origin/master from Git
run: git fetch origin master run: git fetch origin master

View File

@ -5,7 +5,7 @@ ARG DEBIAN_FRONTEND=noninteractive
# hadolint ignore=DL3008 # hadolint ignore=DL3008
RUN apt-get update \ 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 \ && add-apt-repository -y ppa:git-core/ppa \
&& apt-get update \ && apt-get update \
&& apt-get install -y --no-install-recommends \ && apt-get install -y --no-install-recommends \
@ -27,6 +27,8 @@ RUN apt-get update \
sudo \ sudo \
uuid-runtime \ uuid-runtime \
tzdata \ tzdata \
&& apt remove --purge -y software-properties-common \
&& apt autoremove --purge -y \
&& rm -rf /var/lib/apt/lists/* \ && rm -rf /var/lib/apt/lists/* \
&& localedef -i en_US -f UTF-8 en_US.UTF-8 \ && localedef -i en_US -f UTF-8 en_US.UTF-8 \
&& useradd -m -s /bin/bash linuxbrew \ && useradd -m -s /bin/bash linuxbrew \