mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
[CI] Install docker explicitly before trying to use it
This commit is contained in:
@@ -35,7 +35,28 @@ jobs:
|
|||||||
- setup_remote_docker
|
- setup_remote_docker
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: build docker image
|
#FIXME: Bake this into the base image
|
||||||
|
name: install docker
|
||||||
|
command: |
|
||||||
|
apt-get update
|
||||||
|
|
||||||
|
apt-get install --yes \
|
||||||
|
apt-transport-https \
|
||||||
|
ca-certificates \
|
||||||
|
curl \
|
||||||
|
gnupg2 \
|
||||||
|
software-properties-common
|
||||||
|
|
||||||
|
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
|
||||||
|
add-apt-repository \
|
||||||
|
"deb [arch=amd64] https://download.docker.com/linux/debian \
|
||||||
|
$(lsb_release -cs) \
|
||||||
|
stable"
|
||||||
|
|
||||||
|
apt-get update
|
||||||
|
apt-get install docker-ce
|
||||||
|
- run:
|
||||||
|
name: build CI image
|
||||||
command: |
|
command: |
|
||||||
docker build -t tljh-systemd .
|
docker build -t tljh-systemd .
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user