Last change
on this file since 11145 was
11145,
checked in by landauf, 9 years ago
|
added dockerfile for a jenkins-slave
|
File size:
440 bytes
|
Line | |
---|
1 | FROM ubuntu:14.04 |
---|
2 | |
---|
3 | MAINTAINER Fabian 'x3n' Landau |
---|
4 | |
---|
5 | RUN apt-get update && apt-get install -y --no-install-recommends \ |
---|
6 | openssh-server \ |
---|
7 | openjdk-7-jdk \ |
---|
8 | && rm -rf /var/lib/apt/lists/* |
---|
9 | |
---|
10 | RUN mkdir -p /var/run/sshd |
---|
11 | RUN sed -i 's|session required pam_loginuid.so|session optional pam_loginuid.so|g' /etc/pam.d/sshd |
---|
12 | |
---|
13 | RUN adduser --quiet jenkins |
---|
14 | RUN RUN echo "jenkins:jenkins" | chpasswd |
---|
15 | |
---|
16 | EXPOSE 22 |
---|
17 | |
---|
18 | CMD ["/usr/sbin/sshd", "-D"] |
---|
Note: See
TracBrowser
for help on using the repository browser.