Commit 3cc399cd authored by Konstantin Pavlov's avatar Konstantin Pavlov

Prettify stuff.

parent 3683264c
......@@ -2,29 +2,34 @@ FROM debian:sid
MAINTAINER VideoLAN roots <roots@videolan.org>
# Install and configure a basic SSH server
RUN apt-get update &&\
apt-get install -y openssh-server &&\
apt-get clean -y && rm -rf /var/lib/apt/lists/* &&\
sed -i 's|session required pam_loginuid.so|session optional pam_loginuid.so|g' /etc/pam.d/sshd &&\
# jenkins-specific part
RUN apt-get update && \
apt-get install -y openssh-server && \
apt-get clean -y && rm -rf /var/lib/apt/lists/* && \
sed -i 's|session required pam_loginuid.so|session optional pam_loginuid.so|g' /etc/pam.d/sshd && \
mkdir -p /var/run/sshd
# Install JDK 7 (latest edition)
RUN apt-get update &&\
apt-get install -y openjdk-7-jdk &&\
RUN apt-get update && \
apt-get install -y openjdk-8-jdk && \
apt-get clean -y && rm -rf /var/lib/apt/lists/*
# Set user jenkins to the image
RUN adduser --quiet jenkins && \
echo "jenkins:jenkins" | chpasswd
# Standard SSH port
EXPOSE 22
CMD ["/usr/sbin/sshd", "-D"]
# build-specific part
COPY enforce-static.sh /
RUN apt-get update && apt-get -y install gcc-mingw-w64-i686 g++-mingw-w64-i686 mingw-w64-tools lua5.2-dev lua5.2 libtool automake autoconf autopoint make gettext pkg-config qt4-dev-tools qt4-default git subversion cmake cvs libwine-dev wine-development wine zip nsis bzip2 p7zip-full
RUN echo "deb http://ftp.fr.debian.org/debian/ sid main" > /etc/apt/sources.list
RUN apt-get update && \
apt-get -y install gcc-mingw-w64-i686 g++-mingw-w64-i686 mingw-w64-tools \
lua5.2-dev lua5.2 libtool automake autoconf autopoint make gettext \
pkg-config qt4-dev-tools qt4-default git subversion cmake cvs libwine-dev \
wine-development wine zip nsis bzip2 p7zip-full && \
apt-get clean -y && rm -rf /var/lib/apt/lists/*
RUN /enforce-static.sh
.PHONY: build
build:
docker build -t jenkins-vlc-win32:latest .
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