Dockerfile制作多应用Docker镜像(应用列表)

#Docker镜像包含的应用列表

##Base OS
CentOS 7.6

##Software Environment
###Mysql 5.7

wget -i -c http://dev.mysql.com/get/mysql57-community-release-el7-10.noarch.rpm
yum -y install mysql57-community-release-el7-10.noarch.rpm
yum -y install mysql-community-server

###Jdk 1.8

###Nginx 1.16.1

配置文件

  1. nginx.conf
  2. https.conf
  3. server.key
  4. server.crt
yum -y install nginx-1.16.1
cp -f software/nginx.conf /etc/nginx/
cp -f software/https.conf /etc/nginx/conf.d/
cp -f software/server.key /etc/nginx/security/
cp -f software/server.crt /etc/nginx/security/

###Python 3.6
Python 3.6 anaconda

安装包

  1. Anaconda3-5.2.0-Linux-x86_64.sh
cp software/Anaconda3-5.2.0-Linux-x86_64.sh /opt
cd /opt
bash Anaconda3-5.2.0-Linux-x86_64.sh

>>>交互示例
[root@xxxx opt]# bash Anaconda3-5.2.0-Linux-x86_64.sh 

Welcome to Anaconda3 5.2.0

In order to continue the installation process, please review the license
agreement.
Please, press ENTER to continue
>>> ENTER # 回车确认
Do you accept the license terms? [yes|no]
[no] >>> yes # 输入yes

Anaconda3 will now be installed into this location:
/root/anaconda3

  - Press ENTER to confirm the location
  - Press CTRL-C to abort the installation
  - Or specify a different location below

[/root/anaconda3] >>> ENTER  # 回车确认

Do you wish the installer to prepend the Anaconda3 install location
to PATH in your /root/.bashrc ? [yes|no]
[no] >>> yes  # 输入yes
Do you wish to proceed with the installation of Microsoft VSCode? [yes|no]
>>> no  # 输入no,不安装

##Service Package
###ibof
安装包

  1. iaof-1.0.0.zip
mkdir –p /var/www/ibof
cp software/ibof-1.0.0.zip /opt/ibof
cd /var/www/ibof
unzip ibof-1.0.0.zip
mv ibof-1.0.0/* .

###isvr
安装包列表

  1. isvr-1.0.0.jar
  2. isvr_bootstrap.sh

执行命令

mkdir /opt/isvr

cp software/isvr-1.0.0.jar /opt/isvr
cp software/isvr_bootstrap.sh /opt/isvr
cd /opt/isvr
bash isvr_bootstrap.sh

###ipy
安装包列表

  1. ipy-1.0.0.tar.gz
  2. ipy_bootstrap.sh
mkdir /opt/isvr

cp software/ipy-1.0.0.tar.gz /opt/ipy
cp software/ipy_bootstrap.sh /opt/py
cd /opt/ipy
tar xzvf ipy-1.0.0.tar.gz
bash ipy_bootstrap.sh
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

jason9211

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值