Commit d1dac7f7 authored by jiangyz's avatar jiangyz

cicd

parent c9c23cf4
Pipeline #25123 failed with stages
in 2 minutes and 46 seconds
FROM maven:3.8.5-openjdk-17
FROM openjdk:jdk-17-debian
ENV BASE_DIR="/home/pms-agent" \
DATA_DIR="/data/pms-agent"
......@@ -10,7 +10,7 @@ COPY pms-agent.jar pms-agent.jar
# PASS平台不能用Root用户使用文件夹,需要创建普通用户
# 日志路径需要和配置相同
RUN mkdir -p $DATA_DIR/{log, upload, tmp}
RUN adduser -D -u 1000 gx \
RUN adduser -u 1000 --disabled-password gx \
&& chown -R gx:gx $BASE_DIR \
&& chmod -R 777 $BASE_DIR \
&& chown -R gx:gx $DATA_DIR \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment