mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-12-22 21:24:28 +00:00
Fix drone file
This commit is contained in:
parent
5ef03b9bd5
commit
7a027fda24
1 changed files with 7 additions and 1 deletions
|
@ -2,7 +2,13 @@ pipeline:
|
||||||
build:
|
build:
|
||||||
image: python:3
|
image: python:3
|
||||||
commands:
|
commands:
|
||||||
- apt-get install -y curl python-tk docker-ce docker-ce-cli containerd.io
|
- apt-get update
|
||||||
|
- apt install apt-transport-https ca-certificates curl software-properties-common gnupg2 curl
|
||||||
|
- 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"
|
||||||
|
- apt update
|
||||||
|
- apt install docker-ce
|
||||||
|
- apt-get 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