Commit 7eb34e63 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

Add a bionic base image

parent 71b6c324
FROM ubuntu:bionic
MAINTAINER VideoLAN roots <roots@videolan.org>
ENV IMAGE_DATE=201805311200
# If someone wants to use VideoLAN docker images on a local machine and does
# not want to be disturbed by the jenkins user, we should not take an uid/gid
# in the user range of main distributions, which means:
# - Debian based: <1000
# - RPM based: <500 (CentOS, RedHat, etc.)
ARG JENKINS_UID=499
RUN apt-get update && \
apt-get install -y openssh-server openjdk-8-jdk lftp ca-certificates && \
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 && \
sed -i 's,use_authtok ,,' /etc/pam.d/common-password && \
ssh-keygen -A && \
mkdir -p /var/run/sshd && \
addgroup --quiet --gid ${JENKINS_UID} jenkins && \
adduser --quiet --uid ${JENKINS_UID} --ingroup jenkins jenkins && \
echo "jenkins:jenkins" | chpasswd
include ../common.mak
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