mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +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
a48aa33eaa
commit
a2b018a188
2 changed files with 1 additions and 20 deletions
|
|
@ -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