Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pms-agent
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
姜耀祖
pms-agent
Commits
d1dac7f7
Commit
d1dac7f7
authored
Apr 24, 2026
by
jiangyz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cicd
parent
c9c23cf4
Pipeline
#25123
failed with stages
in 2 minutes and 46 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Dockerfile
Dockerfile
+2
-2
No files found.
Dockerfile
View file @
d1dac7f7
FROM
maven:3.8.5-openjdk-17
FROM
openjdk:jdk-17-debian
ENV
BASE_DIR="/home/pms-agent" \
ENV
BASE_DIR="/home/pms-agent" \
DATA_DIR="/data/pms-agent"
DATA_DIR="/data/pms-agent"
...
@@ -10,7 +10,7 @@ COPY pms-agent.jar pms-agent.jar
...
@@ -10,7 +10,7 @@ COPY pms-agent.jar pms-agent.jar
# PASS平台不能用Root用户使用文件夹,需要创建普通用户
# PASS平台不能用Root用户使用文件夹,需要创建普通用户
# 日志路径需要和配置相同
# 日志路径需要和配置相同
RUN
mkdir
-p
$DATA_DIR
/
{
log, upload, tmp
}
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
\
&&
chown
-R
gx:gx
$BASE_DIR
\
&&
chmod
-R
777
$BASE_DIR
\
&&
chmod
-R
777
$BASE_DIR
\
&&
chown
-R
gx:gx
$DATA_DIR
\
&&
chown
-R
gx:gx
$DATA_DIR
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment