首页 > 系统相关 >Dockerfile centos7_tomcat7.0.64_jdk7u80

Dockerfile centos7_tomcat7.0.64_jdk7u80

时间:2022-09-28 23:04:02浏览次数:50  
标签:tomcat centos7 apache 7.0 64 usr tomcat7.0 jdk7u80 local

FROM centos:7
MAINTAINER jiangzhehao

WORKDIR /tmp
RUN yum -y install net-tools
ADD jdk-7u80-linux-x64.tar.gz /usr/local/
RUN rm -f /usr/local/jdk-7u80-linux-x64.tar.gz

ENV JAVA_HOME=/usr/local/jdk1.7.0_80
ENV PATH=$JAVA_HOME/bin:$PATH
ENV CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar

ADD apache-tomcat-7.0.64.tar.gz /usr/local/
RUN rm -f /usr/local/apache-tomcat-7.0.64.tar.gz

COPY server.xml /usr/local/apache-tomcat-7.0.64/conf/server.xml

RUN chmod 777 /usr/local/apache-tomcat-7.0.64/bin/startup.sh

EXPOSE 8080

#CMD ./usr/local/apache-tomcat-7.0.64/bin/startup.sh
ENTRYPOINT



标签:tomcat,centos7,apache,7.0,64,usr,tomcat7.0,jdk7u80,local
From: https://blog.51cto.com/u_472169/5721160

相关文章

  • Centos7安装Tomcat8
    一、下载Tomcat8压缩包打开tomcat8的下载页面 ​​http://tomcat.apache.org/download-80.cgi​​二、解压以及重命名[root@localhost~]#tar-zxvfapache-tomcat-8.5.16......
  • centos7中将tomcat注册为系统服务
    一、准备环境操作系统:CentOSLinuxrelease7.6.1810(Core) tomcat:apache-tomcat-8.5.41.tar.gz二、编辑catalina.shvim/usr/local/tomcat/bin/catalina.sh然后输入:set......
  • centos7 安装 mysql5.7.25
    一、检查是否安装了mysql和mariadb,若已经安装就需要卸载。[root@localhost~]#rpm-qa|grep//查询出来已安装的mariadb[root@localhost~]#rpm-e--nodeps文件名......
  • centos7 中iptables、firewalld 和 netfilter 的关系
    centos7系统使用firewalld服务替代了iptables服务,但是依然可以使用iptables来管理内核的netfilter但其实iptables服务和firewalld服务都不是真正的防火墙,只是用来定......
  • Dockerfile centos7_php5.6.36
    Dockerfile:FROMcentos:7MAINTAINERwww.ctnrs.comRUNyuminstallepel-release-y&&\yuminstall-ygccgcc-c++makegd-devellibxml2-devel\libcurl-deve......
  • CentOS7下安装Mysql
    准备工作 下载地址:https://dev.mysql.com/downloads/mysql/5.7.html#downloads     Linux可能内嵌了mariaDB,这里需要将mariaDB删除:yum listinstalled|......
  • CentOS7.9 搭建DHCP服务器 - DHCP中继代理
    一、DHCP概述1.DHCP的简介DHCP(DynamicHostConfigurationProtocol),动态主机配置协议,是一个应用层协议。当我们将客户主机ip地址设置为动态获取方式时,DHCP服务器就......
  • CentOS7.9编译安装gp
    前提条件yumupdate-yyum-yinstallepel-releaseyum–yinstallpython-pipyuminstall-ylrzsz设置python国内下载源mkdir-p~/.pipvi~/.pip/pip.conf......
  • winSCP连接虚拟机centOS7
    https://blog.csdn.net/angryshan/article/details/86502887?spm=1001.2101.3001.6661.1&utm_medium=distribute.pc_relevant_t0.none-task-blog-2%7Edefault%7ECTRLIST%7E......
  • centos7没有wget命令
    执行以下命令即可:yum -yinstallwgetyum-yinstallsetupyum-yinstallperl......