Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: build/dockerfiles/orxonox_jenkins-slave/Dockerfile @ 12373

Last change on this file since 12373 was 12198, checked in by landauf, 6 years ago

redo changes from r11812

File size: 615 bytes
Line 
1FROM ubuntu:16.04
2
3MAINTAINER Fabian 'x3n' Landau
4
5RUN apt-get update && apt-get install -y --no-install-recommends \
6                software-properties-common \
7        && rm -rf /var/lib/apt/lists/*
8
9RUN add-apt-repository --yes ppa:openjdk-r/ppa
10
11RUN apt-get update && apt-get install -y --no-install-recommends \
12                openssh-server \
13                openjdk-8-jdk \
14        && rm -rf /var/lib/apt/lists/*
15
16RUN mkdir -p /var/run/sshd
17RUN sed -i 's|session    required     pam_loginuid.so|session    optional     pam_loginuid.so|g' /etc/pam.d/sshd
18
19RUN adduser --quiet jenkins
20RUN echo "jenkins:jenkins" | chpasswd
21
22EXPOSE 22
23
24CMD ["/usr/sbin/sshd", "-D"]
Note: See TracBrowser for help on using the repository browser.