Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mobdna-k8s
Project
Overview
Details
Activity
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
shenggui.li
mobdna-k8s
Commits
c948f807
Commit
c948f807
authored
Mar 24, 2022
by
shenggui.li
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initial commit
parent
df40f96e
Pipeline
#2001
passed with stages
in 6 minutes 12 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
.gitlab-ci.yml
.gitlab-ci.yml
+2
-2
Dockerfile
Dockerfile
+5
-4
No files found.
.gitlab-ci.yml
View file @
c948f807
...
...
@@ -15,7 +15,7 @@ variables:
cache
:
key
:
${CI_COMMIT_SHA}
paths
:
-
target/
-
web/
target/
# 打包
mvn_package
:
...
...
@@ -26,7 +26,7 @@ mvn_package:
# - wget -O /root/.m2/settings.xml http://configure_read:reyun.123@nexus.minrow.com/repository/configure/maven/config/settings.xml
-
mvn clean package -DskipTests=true
# - mv docker_conf Dockerfile target/
-
ls ; cd target ; ls -lh
-
ls ; cd
web/
target ; ls -lh
only
:
-
master
tags
:
...
...
Dockerfile
View file @
c948f807
FROM
amazonlinux:2.0.20220218.1
FROM
openjdk:8-jdk-alpine
#FROM amazonlinux:2.0.20220218.1
RUN
ln
-snf
/usr/share/zoneinfo/Asia/Shanghai /etc/localtime
&&
echo
Asia/Shanghai
>
/etc/timezone
ADD
jdk-8u201-linux-x64.rpm /tmp/
RUN
yum localinstall /tmp/jdk-8u201-linux-x64.rpm
-y
&&
yum clean all
;
rm
-f
/tmp/jdk-8u201-linux-x64.rpm
#
ADD jdk-8u201-linux-x64.rpm /tmp/
#
RUN yum localinstall /tmp/jdk-8u201-linux-x64.rpm -y && yum clean all; rm -f /tmp/jdk-8u201-linux-x64.rpm
RUN
mkdir
-p
/data/application/mobdna
;
#yum install tar unzip procps iproute lsof glibc-all-langpacks -y ; yum clean all
# 安装datakit插件
#RUN DK_CLOUD_PROVIDER="aws" DK_INSTALL_ONLY="true" DK_DATAWAY="https://aws-openway.guance.com?token=tkn_6e86d42e17a446c2b95a9c8e4530cf1e" bash -c "$(curl -L https://static.guance.com/datakit/install.sh)"; echo ok
# tomcat
COPY
mob-dna-1.0.jar /data/application/mobdna
COPY
web/target/
mob-dna-1.0.jar /data/application/mobdna
#COPY dd-java-agent.jar /data/application/mobdna
# COPY
WORKDIR
/data/application/mobdna
...
...
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