Commit bcd008c4 authored by Clément Démoulins's avatar Clément Démoulins
Browse files

Migrate to debian:stretch and use gitlab registry

parent 0d0c3a7d
Pipeline #28526 passed with stage
in 1 minute and 7 seconds
......@@ -8,5 +8,6 @@ build:
script:
- cd docker
- docker build -t registry.lrde.epita.fr/olena-demos .
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker push registry.lrde.epita.fr/olena-demos
FROM debian:jessie
FROM debian:stretch
LABEL maintainer "Clément Démoulins <demoulins@lrde.epita.fr>"
COPY sources.list /etc/apt/sources.list
......@@ -7,7 +7,7 @@ COPY 02proxy /etc/apt/apt.conf.d/02proxy
# install build dependencies
RUN apt-get update \
&& RUNLEVEL=1 DEBIAN_FRONTEND=noninteractive \
apt-get install -y --force-yes --no-install-recommends -t jessie-backports \
apt-get install -y --force-yes --no-install-recommends \
autoconf \
automake \
autotools-dev \
......@@ -27,7 +27,7 @@ RUN apt-get update
latex2html \
libgraphicsmagick++1-dev \
libleptonica-dev \
libmagickcore-extra \
libmagickcore-6.q16hdri-3-extra \
libtesseract-dev \
libtool-bin \
libboost-all-dev \
......@@ -44,7 +44,7 @@ RUN apt-get update
texlive-full \
wget \
apache2 \
libapache2-mod-php5 \
libapache2-mod-php \
&& apt-get autoremove \
&& apt-get clean \
&& sed -i 's/# \+\(en_US.UTF.*\)/\1/' /etc/locale.gen \
......
.PHONY: build push clean
DOCKER_TAG = registry.lrde.epita.fr/olena-demos
DOCKER_TAG = gitlab-registry.lrde.epita.fr/olena/olena-demos
build:
docker build -t $(DOCKER_TAG) --pull=true --no-cache --force-rm .
......
deb http://ftp2.fr.debian.org/debian jessie main non-free contrib
deb http://ftp2.fr.debian.org/debian jessie-updates main contrib non-free
deb http://ftp2.fr.debian.org/debian jessie-backports main contrib non-free
deb http://ftp2.fr.debian.org/debian stretch main non-free contrib
deb http://ftp2.fr.debian.org/debian stretch-updates main contrib non-free
deb http://ftp2.fr.debian.org/debian stretch-backports main contrib non-free
deb http://security.debian.org/ jessie/updates main contrib non-free
deb http://security.debian.org/ stretch/updates main contrib non-free
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