[drone-ci]: remove pip and add virtualenv in debian
This commit is contained in:
parent
8d4cd96ebf
commit
d47a3e25af
@ -7,7 +7,7 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- export SHELL=/bin/bash # hack custom shell
|
- export SHELL=/bin/bash # hack custom shell
|
||||||
- apk update
|
- apk update
|
||||||
- apk add musl-locales openjdk11 py3-pip make py3-virtualenv
|
- apk add musl-locales openjdk11 make py3-virtualenv
|
||||||
- export LANG=es_ES.UTF-8 LANGUAGE=es_ES
|
- export LANG=es_ES.UTF-8 LANGUAGE=es_ES
|
||||||
- virtualenv -p python3 venv
|
- virtualenv -p python3 venv
|
||||||
- source venv/bin/activate
|
- source venv/bin/activate
|
||||||
@ -21,7 +21,7 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- export SHELL=/bin/bash # hack custom shell
|
- export SHELL=/bin/bash # hack custom shell
|
||||||
- apt-get update -y
|
- apt-get update -y
|
||||||
- apt-get install -y locales openjdk-11-jre python3-pip
|
- apt-get install -y locales openjdk-11-jre virtualenv
|
||||||
- sed -e 's|^# es_ES.UTF-8 UTF-8|es_ES.UTF-8 UTF-8|g' -i /etc/locale.gen
|
- sed -e 's|^# es_ES.UTF-8 UTF-8|es_ES.UTF-8 UTF-8|g' -i /etc/locale.gen
|
||||||
- sed -e 's|^# en_US.UTF-8 UTF-8|en_US.UTF-8 UTF-8|g' -i /etc/locale.gen
|
- sed -e 's|^# en_US.UTF-8 UTF-8|en_US.UTF-8 UTF-8|g' -i /etc/locale.gen
|
||||||
- sed -e 's|^# eo UTF-8|eo UTF-8|g' -i /etc/locale.gen
|
- sed -e 's|^# eo UTF-8|eo UTF-8|g' -i /etc/locale.gen
|
||||||
|
Loading…
x
Reference in New Issue
Block a user