39 lines
1.2 KiB
Docker
39 lines
1.2 KiB
Docker
FROM ubuntu:16.04
|
|
|
|
ARG HTTP_PROXY=
|
|
ARG HTTPS_PROXY=
|
|
ARG http_proxy=
|
|
ARG https_proxy=
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
# systemd/docker compatibility configuration
|
|
# See https://developers.redhat.com/blog/2016/09/13/running-systemd-in-a-non-privileged-container/
|
|
ENV container=docker
|
|
STOPSIGNAL SIGRTMIN+3
|
|
|
|
RUN apt-get update -y && apt-get install -y locales wget keyboard-configuration
|
|
RUN locale-gen --purge fr_FR.UTF-8
|
|
|
|
ENV LC_ALL=fr_FR.UTF-8
|
|
ENV LANG=french
|
|
|
|
# Install apt-show-versions
|
|
# See https://askubuntu.com/questions/916199/install-apt-show-versions-inside-an-ubuntu-docker-container
|
|
RUN rm /etc/apt/apt.conf.d/docker-gzip-indexes &&\
|
|
apt-get purge apt-show-versions &&\
|
|
rm /var/lib/apt/lists/*lz4 &&\
|
|
apt-get -o Acquire::GzipIndexes=false update &&\
|
|
apt-get install -y apt-show-versions
|
|
|
|
# Configure then install EOLE packages
|
|
RUN wget -q -O - "http://eole.ac-dijon.fr/eole/project/eole-2.6-repository.key" | apt-key --keyring /etc/apt/trusted.gpg.d/eole-archive-keyring.gpg add -
|
|
COPY eole.list /etc/apt/sources.list.d/eole.list
|
|
RUN apt-get update -y &&\
|
|
apt-get install -y --force-yes eole-server eole-exim-pkg &&\
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
ENV DEBIAN_FRONTEND=text
|
|
|
|
ENTRYPOINT []
|
|
|
|
CMD ["/bin/bash"] |