docker安装confluence7.13.0
1- dockerfile
FROM atlassian/confluence:7.19.16
USER root
# 将代理破解包加入容器
COPY "atlassian-agent.jar" /opt/atlassian/confluence/
# 设置启动加载代理包
RUN echo 'export CATALINA_OPTS="-javaagent:/opt/atlassian/confluence/atlassian-agent.jar ${CATALINA_OPTS}"' >> /opt/atlassian/confluence/bin/setenv.sh
2- 构建镜像:
docker build -t registry.cn-hangzhou.aliyuncs.com/baimeidashu/confluece719:v1 --no-cache .