Skip to content

Instantly share code, notes, and snippets.

@tbernacchi
Created June 9, 2017 17:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tbernacchi/4e3a3d5f45174ee785baf4ae2c64b842 to your computer and use it in GitHub Desktop.
Save tbernacchi/4e3a3d5f45174ee785baf4ae2c64b842 to your computer and use it in GitHub Desktop.
FROM debian
RUN \
echo "deb http://ftp.us.debian.org/debian sid main" >> /etc/apt/sources.list && \
apt-get -y update && \
apt-get install -y wget && \
apt-get install -y apt-utils && \
apt-get install -y openjdk-8-jre && \
apt-get install openssh-client openssh-server -y && \
apt-get install -y uuid-runtime && \
wget http://download.rundeck.org/deb/rundeck-2.8.0-1-GA.deb && \
dpkg -i rundeck-2.8.0-1-GA.deb && \
apt-get -f install && \
rm -rf /var/lib/apt/lists/*
ENV SERVER_URL=http://192.168.10.103:4440
ENV RUNDECK_WITH_SSL=true
ENV RUNDECK_PASSWORD=admin
ENV RUNDECK_ADMIN_PASSWORD=admin
WORKDIR /etc/rundeck
LABEL Description="rundeck"
CMD ["/etc/init.d/rundeckd start"]
EXPOSE 4440
EXPOSE 4443
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment