Commit 7859c613 authored by Adrien Dorsaz's avatar Adrien Dorsaz

gitlab-ci: update dockerfile and use tags to use runner with good image

parent fd206fbc
Pipeline #241 passed with stage
in 9 minutes and 38 seconds
FROM debian:jessie-slim
RUN apt-get update
RUN apt-get upgrade -y
# Minimal tools required by acme-dns-tiny CI
RUN apt-get install -y --no-install-recommends \
python3-dnspython \
python3-coverage \
python3-pip
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
python3-dnspython \
python3-coverage \
python3-pip \
&& apt-get clean
# Allows run python3-coverage with same command than manual install by pip
RUN update-alternatives --install \
......
FROM debian:stretch-slim
RUN apt-get update
RUN apt-get upgrade -y
# Minimal tools required by acme-dns-tiny CI
RUN apt-get install -y --no-install-recommends \
python3-dnspython \
python3-coverage \
python3-configargparse \
python3-pip
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
python3-dnspython \
python3-coverage \
python3-configargparse \
python3-pip
# Allows run python3-coverage with same command than manual install by pip
RUN update-alternatives --install \
......
jessie:
image: adt-jessie
tags:
- jessie
before_script:
- pip3 install --upgrade -r tests/requirements.txt
script:
......@@ -8,7 +9,8 @@ jessie:
- coverage html
stretch:
image: adt-stretch
tags:
- stretch
before_script:
- pip3 install --upgrade -r tests/requirements.txt
script:
......
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