Public Repository

Last pushed: 2 years ago
Short Description
java7 & node
Full Description

FROM ubuntu:trusty
MAINTAINER p. stephen wille p.stephenwille@gmail.com

Make sure the package repository is up to date.

RUN apt-get update
RUN apt-get -y upgrade

Install node

RUN apt-get install -y nodejs

symlink conflicting node (radio packets) with js node

RUN ln -s /usr/bin/nodejs /usr/bin/node

Install a basic SSH server

RUN apt-get install -y openssh-server
RUN sed -i 's|session required pam_loginuid.so|session optional pam_loginuid.so|g' /etc/pam.d/sshd
RUN mkdir -p /var/run/sshd

Install JDK 7 (latest edition)

RUN apt-get install -y openjdk-7-jdk

Add user jenkins to the image

RUN adduser --quiet jenkins

Set password for the jenkins user (you may want to alter this).

RUN echo "jenkins:jenkins" | chpasswd

Standard SSH port

EXPOSE 22

CMD ["/usr/sbin/sshd", "-D"]

Docker Pull Command
Owner
pstephenwille

Comments (0)