Skip to content

Commit

Permalink
Install a certain docker and show docker version information.
Browse files Browse the repository at this point in the history
  • Loading branch information
falkzoll committed Oct 6, 2023
1 parent af01d82 commit a2eec3a
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ jobs:

- name: Docker Images Cleanup
run: |
set -x
docker version
df -h
docker image ls
docker image rm $(docker image ls -q) -f
Expand All @@ -41,6 +43,21 @@ jobs:
# We use the built in docker of the github action environment.
#- name: befor install -> docker.sh
# run: ./tools/travis/docker.sh
- name: setup docker version
run: |
set -x
dpkg -l
cat /etc/docker/daemon.json || true
apt-cache policy docker-ce
#sudo apt-get -y install docker-ce=18.06.3~ce~3-0~ubuntu
#sudo apt-get -y install docker-ce=20.10.24~3-0~ubuntu
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt-get update
apt list -a docker-ce
sudo apt-get -y --allow-downgrades install docker-ce=5:20.10.14~3-0~ubuntu-jammy
docker version
cat /etc/docker/daemon.json || true
- name: befor install -> install python3-pip
run: sudo apt-get install -y python3-pip
Expand Down

0 comments on commit a2eec3a

Please sign in to comment.