环境准备

     docker容器化单机应用

     docker容器化单机应用

  Dockerfile所在的目录不能包含其它不要的文件 否则会连不要的文件一起打包的docker镜像中

FROM 192.168.30.113/laboratory/c7-systemd-ssh-3322:7.8.2003
RUN yum -y install net-tools libaio-devel.x86_64 numactl ntpdate openssl tar zip;yum clean all
RUN ntpdate time1.aliyun.com
WORKDIR /opt
ADD taishi-deploy-docker.tar.gz .
WORKDIR /opt/taishi-deploy-docker
RUN sh ./setfile.sh script
WORKDIR /opt/taishi-deploy-docker/script
CMD ./setup.sh
Dockerfile

相关文章:

  • 2022-01-05
  • 2021-07-15
  • 2021-08-20
  • 2021-05-24
  • 2021-05-11
  • 2022-12-23
猜你喜欢
  • 2021-10-10
  • 2021-07-09
  • 2021-08-27
  • 2021-05-05
  • 2021-08-25
  • 2021-08-20
  • 2021-12-31
相关资源
相似解决方案