Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 11709 was 11434, checked in by landauf, 7 years ago

install java 8 to run jetty slave in docker container

File size: 615 bytes
Line 
1FROM ubuntu:14.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.