39 lines
1.2 KiB
Docker
39 lines
1.2 KiB
Docker
|
FROM debian:buster
|
||
|
LABEL version 1.0+beta.2
|
||
|
|
||
|
ENV JENKINS_HOME /var/jenkins
|
||
|
ENV DEBIAN_FRONTEND noninteractive
|
||
|
ENV REQUESTS_CA_BUNDLE /etc/ssl/certs/ca-certificates.crt
|
||
|
|
||
|
#download through the french mirror
|
||
|
RUN sed -i 's/deb\./ftp.fr./' /etc/apt/sources.list
|
||
|
|
||
|
RUN echo "moonlight:/share/dev-common/Applications/x86-64/linux /mnt/applis nfs defaults 0 0" >> /etc/fstab && \
|
||
|
echo "moonlight:/share/home /home nfs defaults 0 0" >> /etc/fstab && \
|
||
|
echo "sharing:/mnt/samba/share /mnt/share nfs defaults 0 0" >> /etc/fstab
|
||
|
|
||
|
# Global config
|
||
|
# FIXME: nfs mounting hangs forever, so no path, etc...
|
||
|
RUN echo "nslcd nslcd/ldap-base string dc=openldap,dc=ullink,dc=lan" | debconf-set-selections && \
|
||
|
echo "nslcd nslcd/ldap-uris string ldap://ldap" | debconf-set-selections && \
|
||
|
echo "libnss-ldapd:amd64 libnss-ldapd/nsswitch multiselect group, passwd, shadow" | debconf-set-selections
|
||
|
|
||
|
RUN apt-get upgrade -y && apt-get update
|
||
|
RUN apt-get -y install \
|
||
|
git \
|
||
|
libnss-ldapd \
|
||
|
libpam-ldapd \
|
||
|
locales \
|
||
|
maven \
|
||
|
nfs-common \
|
||
|
ntp \
|
||
|
openjdk-8-jdk \
|
||
|
openssh-server \
|
||
|
python2.7 \
|
||
|
sudo \
|
||
|
supervisor \
|
||
|
unzip \
|
||
|
vim \
|
||
|
wget \
|
||
|
ca-certificates \
|
||
|
nginx \
|