FROM eclipse-temurin:8u392-b08-jre-jammy
ENV TZ=Asia/Shanghai
ENV HOSTNAME=dagu
ENV REPLICADB_HOME=/opt/replicadb
ENV DAGU_HOME=/opt/dagu
ENV DAGU_HOST=0.0.0.0
ENV DAGU_PORT=8080
ENV DAGU_IS_BASICAUTH=1
ENV DAGU_BASICAUTH_USERNAME="admin"
ENV DAGU_BASICAUTH_PASSWORD="admin"
ENV DAGU_NAVBAR_COLOR="#a0aeba"
ENV DAGU_NAVBAR_TITLE="Dagu"
ENV PATH="${REPLICADB_HOME}/bin:${PATH}"
RUN set -eux; \
mkdir -p /opt/dagu;
VOLUME ${DAGU_HOME}/dags ${DAGU_HOME}/data ${DAGU_HOME}/logs
COPY dagu /usr/local/bin/
COPY replicadb ${REPLICADB_HOME}
ENTRYPOINT ["dagu"]
EXPOSE 8080
CMD ["start-all"]
replicadb修改过,添加了sqlline.jar和sqlline的启动脚本,修改了configure-replicadb脚本,修改后的文件在csdn