Initial commit
This commit is contained in:
20
misc/ansible-eole/Dockerfile
Normal file
20
misc/ansible-eole/Dockerfile
Normal file
@ -0,0 +1,20 @@
|
||||
FROM eolebase-2.6.2:latest
|
||||
|
||||
ARG HTTP_PROXY=
|
||||
ARG HTTPS_PROXY=
|
||||
ARG http_proxy=
|
||||
ARG https_proxy=
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
RUN apt-get update -y &&\
|
||||
apt-get install -y build-essential libssl-dev libffi-dev python-dev python-pip git &&\
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN git clone https://github.com/ansible/ansible.git &&\
|
||||
cd ansible &&\
|
||||
pip install wheel &&\
|
||||
pip install -r requirements.txt
|
||||
|
||||
COPY bashrc /root/.bashrc
|
||||
|
||||
WORKDIR ansible
|
1
misc/ansible-eole/bashrc
Normal file
1
misc/ansible-eole/bashrc
Normal file
@ -0,0 +1 @@
|
||||
. hacking/env-setup
|
39
misc/eole-2.6.2/Dockerfile
Normal file
39
misc/eole-2.6.2/Dockerfile
Normal file
@ -0,0 +1,39 @@
|
||||
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"]
|
3
misc/eole-2.6.2/eole.list
Normal file
3
misc/eole-2.6.2/eole.list
Normal file
@ -0,0 +1,3 @@
|
||||
deb http://eole.ac-dijon.fr/eole eole-2.6.2 main cloud
|
||||
deb http://eole.ac-dijon.fr/eole eole-2.6.2-security main cloud
|
||||
deb http://eole.ac-dijon.fr/eole eole-2.6.2-updates main cloud
|
Reference in New Issue
Block a user