Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

redo changes from r11812

File size: 615 bytes
RevLine 
[12198]1FROM ubuntu:16.04
[11145]2
3MAINTAINER Fabian 'x3n' Landau
4
5RUN apt-get update && apt-get install -y --no-install-recommends \
[11434]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 \
[11145]12                openssh-server \
[11434]13                openjdk-8-jdk \
[11145]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
[11146]20RUN echo "jenkins:jenkins" | chpasswd
[11145]21
22EXPOSE 22
23
24CMD ["/usr/sbin/sshd", "-D"]
Note: See TracBrowser for help on using the repository browser.