You need to extend the official image. I leave the following Dockerfile that adds the docker plugin (the file name is "Dockerfile" too):
# OFFICIAL RUNDECK DOCKER IMAGE :-)
FROM rundeck/rundeck:3.2.0
# BUILD INFO
MAINTAINER MegaDrive68k <[email protected]>
# ENVIRONMENT PARAMS
ENV RDECK_BASE=/home/rundeck
# ADD THE DOCKER PLUGIN (IN FACT, YOU CAN ADD ANYTHING IF YOU WANT)
COPY docker-container-1.4.1.zip ${RDECK_BASE}/libext
Just save this file (remember that the file name is "Dockerfile") and put the plugin (zip file) in the same directory, then you need to build it:
docker build -t megadrive/rundeckcustom:1.0 .
And now you can run it with:
docker run -p 4440:4440 megadrive/rundeckcustom:1.0
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…