Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-qywx-self
Overview
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
haoban3.0
gic-qywx-self
Commits
dc9347c4
Commit
dc9347c4
authored
Oct 12, 2024
by
折木
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加模块镜像编译文件
parent
6fb43fca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
Dockerfile
Dockerfile
+19
-0
No files found.
Dockerfile
0 → 100644
View file @
dc9347c4
FROM
registry.cn-shanghai.aliyuncs.com/demo-imges/java-base-image
RUN
/bin/sh
-c
curl
-o
/etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo
RUN
/bin/sh
-c
yum update
-y
# buildkit
RUN
/bin/sh
-c
yum groupinstall
-y
"Development Tools"
COPY
jemalloc-5.3.0 /usr/local/jemalloc-5.3.0
RUN
/bin/sh
-c
cd
/usr/local/jemalloc-5.3.0/
&&
./configure
--prefix
=
/usr/local
&&
make
&&
make install
RUN
/bin/sh
-c
cat
/etc/ld.so.conf
RUN
/bin/sh
-c
sed
-i
'/^include \/etc\/ld.so.conf.d\/.*\.conf$/a /usr/local/lib'
/etc/ld.so.conf
RUN
/bin/sh
-c
ldconfig
ADD
/usr/java/java.tar.gz /usr/local
RUN
/bin/sh
-c
echo
$PATH
RUN
/bin/sh
-c
java
-version
COPY
/monitor_data/docker-images/java-docker/tomcat /usr/local/tomcat
WORKDIR
/usr/local/tomcat
COPY
./target/gic-qywx-self.war webapps/api-qywx-self.war
RUN
/bin/sh
-c
mkdir
-p
/var/tmp/nginx/client
RUN
/bin/sh
-c
mkdir
-p
/opt/settings
&&
chmod
-R
777 /opt/settings
RUN
/bin/sh
-c
echo
env
=
PRO
>
/opt/settings/server.properties
RUN
/bin/sh
-c
chmod +x /usr/local/tomcat/bin/catalina.sh
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