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

版权声明:本文为jason9211原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。