Last change
on this file since 11381 was
11146,
checked in by landauf, 9 years ago
|
fixed jenkins-slave.
let orxonox build environment also depend on jenkins-slave
|
File size:
436 bytes
|
Rev | Line | |
---|
[11145] | 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 |
---|
[11146] | 14 | RUN echo "jenkins:jenkins" | chpasswd |
---|
[11145] | 15 | |
---|
| 16 | EXPOSE 22 |
---|
| 17 | |
---|
| 18 | CMD ["/usr/sbin/sshd", "-D"] |
---|
Note: See
TracBrowser
for help on using the repository browser.