-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathDockerfile
More file actions
27 lines (20 loc) · 772 Bytes
/
Dockerfile
File metadata and controls
27 lines (20 loc) · 772 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
FROM alpine
ENV RUNDECK_VERSION=2.11.5
ENV RDECK_BASE=/etc/rundeck
ENV RDECK_JAR=$RDECK_BASE/app.jar
ENV PATH=$PATH:$RDECK_BASE/tools/bin
ADD http://dl.bintray.com/rundeck/rundeck-maven/rundeck-launcher-${RUNDECK_VERSION}.jar $RDECK_JAR
RUN apk add --update openjdk8-jre bash curl ca-certificates openssh-client && \
mkdir -p $RDECK_BASE && \
rm -Rf /var/cache/apk/*
COPY run.sh /bin/rundeck
# Keystore
RUN mkdir -p /var/lib/rundeck/.ssh
RUN mkdir -p $RDECK_BASE/ssl
# Active Directory integration
COPY jaas-activedirectory.conf $RDECK_BASE/server/config/jaas-activedirectory.conf
# install dir
# ssh-keys
# logs
VOLUME [ "$RDECK_BASE", "/var/lib/rundeck/.ssh", "$RDECK_BASE/server/logs" ]
CMD rundeck