Commit 184ccf02 authored by Konstantin Pavlov's avatar Konstantin Pavlov

Added videolan-base-{jessie,sid} images.

parent d1b458d6
FROM debian:jessie
MAINTAINER VideoLAN roots <roots@videolan.org>
RUN echo "deb http://ftp.fr.debian.org/debian/ jessie main" > /etc/apt/sources.list && \
echo "deb-src http://ftp.fr.debian.org/debian/ jessie main" >> /etc/apt/sources.list && \
apt-get update && \
apt-get install -y openssh-server openjdk-7-jdk && \
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 && \
adduser --quiet jenkins && \
echo "jenkins:jenkins" | chpasswd
# Standard SSH port
EXPOSE 22
CMD ["/usr/sbin/sshd", "-D"]
.PHONY: build
build:
docker build -t videolan-base-jessie:latest .
FROM debian:sid
MAINTAINER VideoLAN roots <roots@videolan.org>
RUN echo "deb http://ftp.fr.debian.org/debian/ sid main" > /etc/apt/sources.list && \
echo "deb-src http://ftp.fr.debian.org/debian/ sid main" >> /etc/apt/sources.list && \
apt-get update && \
apt-get install -y openssh-server openjdk-8-jdk && \
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 && \
adduser --quiet jenkins && \
echo "jenkins:jenkins" | chpasswd
# Standard SSH port
EXPOSE 22
CMD ["/usr/sbin/sshd", "-D"]
.PHONY: build
build:
docker build -t videolan-base-sid: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