Commit e4901304 authored by Moul's avatar Moul

Initial commit

- Python 3.5, 3.6, 3.7 images based on Debian Stretch slim
parents
Pipeline #6386 failed with stage
in 11 seconds
test_build_image:
image: docker:git
tags:
- docker
services:
- docker:dind
script:
- docker build 3.5
- docker build 3.6
- docker build 3.7
except:
- tags
build_image:
image: docker:git
tags:
- docker
services:
- docker:dind
script:
- docker login -u "gitlab-ci-token" -p "$CI_BUILD_TOKEN" $CI_REGISTRY
- docker build --pull -t "$CI_REGISTRY_IMAGE:$CI_BUILD_TAG" .
- docker login -u "gitlab-ci-token" -p "$CI_BUILD_TOKEN" $CI_REGISTRY
- docker push "$CI_REGISTRY_IMAGE:$CI_BUILD_TAG"
- docker push duniter/release-builder:"$CI_BUILD_TAG"
only:
- tags
FROM python:3.5-slim-stretch
# Install libsodium
RUN apt update
RUN apt install --yes curl libsodium18
# Install Poetry
ENV PATH "/root/.poetry/bin:${PATH}"
ENV POETRY_VERSION 0.12.16
RUN curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | python
FROM python:3.6-slim-stretch
# Install libsodium
RUN apt update
RUN apt install --yes curl libsodium18
# Install Poetry
ENV PATH "/root/.poetry/bin:${PATH}"
ENV POETRY_VERSION 0.12.16
RUN curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | python
FROM python:3.7-slim-stretch
# Install libsodium
RUN apt update
RUN apt install --yes curl libsodium18
# Install Poetry
ENV PATH "/root/.poetry/bin:${PATH}"
ENV POETRY_VERSION 0.12.16
RUN curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | python
This diff is collapsed.
## Poetry Docker
Docker images made for Duniter client projects written in Python.
Debian Stretch-Buster Slim + Python3 + Poetry
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