Skip to content

Instantly share code, notes, and snippets.

@mapi mapi/Dockerfile
Created Oct 10, 2016

Embed
What would you like to do?
rundeck
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
You can’t perform that action at this time.