Created
October 10, 2016 03:37
-
-
Save mapi/93e4aff01749e9a6cc17b2055430dc9e to your computer and use it in GitHub Desktop.
rundeck
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM openjdk:8-jre-alpine | |
ENV user rundeck | |
ENV group rundeck | |
RUN apk --update add ca-certificates curl && \ | |
rm -rf /tmp/* /var/tmp/* /var/cache/apk/* | |
RUN mkdir -p /opt && \ | |
addgroup -g 1000 ${group} && \ | |
adduser -G ${group} -D -u 1000 -h /opt/rundeck ${user} | |
WORKDIR /opt/rundeck | |
USER ${user} | |
ENV RUNDECK_VERSION 2.6.9 | |
RUN curl -Lo rundeck-launcher.jar http://dl.bintray.com/rundeck/rundeck-maven/rundeck-launcher-${RUNDECK_VERSION}.jar && \ | |
chmod +x rundeck-launcher.jar | |
EXPOSE 4440 | |
CMD ["java", "-jar", "rundeck-launcher.jar"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment