Commit 149781f3 authored by xa's avatar xa

upgrade to python3.6

parent 65daf52a
Pipeline #1009 canceled with stage
in 5 minutes and 36 seconds
before_script:
- docker info
build python3.5:
build python3.6:
script:
- docker build -t errorist/py:3.5 .
- docker tag errorist/py:3.5 hub.errorist.xyz/py:3.5
- docker push hub.errorist.xyz/py:3.5
- docker build -t errorist/py:3.6 .
- docker tag errorist/py:3.6 hub.errorist.xyz/py:3.6
- docker push hub.errorist.xyz/py:3.6
tags:
- docker-build
FROM alpine:latest
MAINTAINER Xavier Barbosa <clint.northwood@gmail.com>
RUN apk add --no-cache bash curl git python3 python3-dev
RUN apk add --no-cache bash curl git python3 python3-dev build-base
RUN apk add --no-cache autoconf gcc gmp-dev libc-dev linux-headers
RUN ln -s $(which python3) /usr/local/bin/python
RUN curl https://bootstrap.pypa.io/get-pip.py | python
......
Docker py35 alpine
Docker py36 alpine
------------------
Build an image for python 3.5 that runs on alpine.
The image is exposed at http://hub.errorist.xyz/py:3.5.
Build an image for python 3.6 that runs on alpine.
The image is exposed at http://hub.errorist.xyz/py:3.6.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment