forked from forks/microblog.pub
Fix drone file
This commit is contained in:
parent
7a027fda24
commit
0634744835
1 changed files with 5 additions and 5 deletions
10
.drone.yml
10
.drone.yml
|
@ -2,13 +2,13 @@ pipeline:
|
||||||
build:
|
build:
|
||||||
image: python:3
|
image: python:3
|
||||||
commands:
|
commands:
|
||||||
- apt-get update
|
- apt update -y
|
||||||
- apt install apt-transport-https ca-certificates curl software-properties-common gnupg2 curl
|
- apt install -y apt-transport-https ca-certificates curl software-properties-common gnupg2 curl
|
||||||
- curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add -
|
- curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add -
|
||||||
- add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"
|
- add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"
|
||||||
- apt update
|
- apt update -y
|
||||||
- apt install docker-ce
|
- apt install -y docker-ce
|
||||||
- apt-get install -y curl python-tk
|
- apt install -y curl python-tk
|
||||||
- pip install -U pip
|
- pip install -U pip
|
||||||
- curl -L https://github.com/docker/compose/releases/download/1.21.2/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose
|
- curl -L https://github.com/docker/compose/releases/download/1.21.2/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose
|
||||||
- chmod +x /usr/local/bin/docker-compose
|
- chmod +x /usr/local/bin/docker-compose
|
||||||
|
|
Loading…
Reference in a new issue