Update .gitlab-ci.yml file
This commit is contained in:
parent
a3dc275250
commit
ee2593d9b8
@ -7,8 +7,7 @@ before_script:
|
||||
- apt-get -y install git
|
||||
- apt-get -y install ca-certificates curl gnupg lsb-release
|
||||
- curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
|
||||
- echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian \
|
||||
$(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null
|
||||
- echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian $(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null
|
||||
- apt-get -y update
|
||||
- apt-get -y install docker-ce docker-ce-cli containerd.io
|
||||
- docker --version
|
||||
|
Loading…
Reference in New Issue
Block a user