Skip to content

Commit

Permalink
GHA: Build on Ubuntu 20.04, which supports cgroups v2
Browse files Browse the repository at this point in the history
  • Loading branch information
quartje committed Dec 13, 2022
1 parent 1a72ffb commit c0b5c0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-build-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2

Expand Down
4 changes: 1 addition & 3 deletions tests/Dockerfile.centos-7-ga
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ rm -f /lib/systemd/system/anaconda.target.wants/*;

RUN yum clean all && \
yum -y update && \
yum -y install python3 wget && \
wget https://copr.fedorainfracloud.org/coprs/jsynacek/systemd-backports-for-centos-7/repo/epel-7/jsynacek-systemd-backports-for-centos-7-epel-7.repo -O /etc/yum.repos.d/jsynacek-systemd-centos-7.repo && \
yum -y update systemd
yum -y install python3

VOLUME [ "/sys/fs/cgroup" ]

Expand Down

0 comments on commit c0b5c0c

Please sign in to comment.