15,024
edits
| Line 211: | Line 211: | ||
== Python version on docker images == | == Python version on docker images == | ||
* [https://hub.docker.com/_/docker/ library/docker - Docker Hub] python v. 2.7.15 {{access | date=2018-08-30}} | * [https://hub.docker.com/_/docker/ library/docker - Docker Hub] python v. 2.7.15 {{access | date=2018-08-30}} | ||
<pre> | |||
# install python3 on ubuntu:latest image | |||
image: ubuntu:latest | |||
before_script: | |||
- apt-get update -qy | |||
- apt-get install -y build-essential libpq-dev libssl-dev openssl libffi-dev zlib1g-dev | |||
- apt-get install -y python3 | |||
- apt-get install -y python3-pip python3-dev | |||
# - apt-get install -y python-dev python-pip | |||
- python3 -V | |||
- pip3 -V | |||
- pip3 install -r requirements.txt | |||
</pre> | |||
== References == | == References == | ||