mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-25 11:04:35 +00:00
ci: try to fix broken docker test
Upgrade to 22.04 base image and use the existing version of docker. Signed-off-by: Adrian Reber <areber@redhat.com>
This commit is contained in:
parent
cb39c62f8a
commit
f7b2e63e09
2 changed files with 1 additions and 20 deletions
2
.github/workflows/docker-test.yml
vendored
2
.github/workflows/docker-test.yml
vendored
|
|
@ -12,7 +12,7 @@ jobs:
|
|||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-20.04]
|
||||
os: [ubuntu-22.04]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Run Docker Test (${{ matrix.os }})
|
||||
|
|
|
|||
|
|
@ -2,25 +2,6 @@
|
|||
|
||||
set -x -e -o pipefail
|
||||
|
||||
./apt-install \
|
||||
apt-transport-https \
|
||||
ca-certificates \
|
||||
curl \
|
||||
software-properties-common
|
||||
|
||||
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
|
||||
|
||||
add-apt-repository \
|
||||
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
|
||||
$(lsb_release -cs) \
|
||||
stable test"
|
||||
|
||||
# checkpoint/restore is broken in Docker Engine (Community) version 25.0.0-beta.1
|
||||
# https://github.com/moby/moby/discussions/46816
|
||||
# Downgrade to the latest stable version.
|
||||
VERSION_STRING=5:24.0.7-1~ubuntu.20.04~focal
|
||||
./apt-install docker-ce=$VERSION_STRING docker-ce-cli=$VERSION_STRING containerd.io docker-buildx-plugin docker-compose-plugin
|
||||
|
||||
# docker checkpoint and restore is an experimental feature
|
||||
echo '{ "experimental": true }' > /etc/docker/daemon.json
|
||||
service docker restart
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue