多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
[TOC] ## 概述 安装libpng时需要zlib-devel 安装php时需要libtool、libtool-ltdl、libtool-ltdl-devel 安装mysql时需要bison、ncurses-devel ## 实例 <details> <summary>Dockerfile</summary> ``` FROM centos:7 RUN yum install -y net-tools \ libgomp.x86_64 \ libtool-ltdl-devel.x86_64 \ psmisc.x86_64 \ gdb \ gd ADD ./im_server.tar.gz /root/ RUN cd /root/oneinstack \ && ./install.sh -a WORKDIR /home/im_user/im_server/im_webserver ENTRYPOINT ["/bin/bash"] #ENTRYPOINT ["/etc/init.d/bigant_control" , "start"] ``` </details> <br/> <details> <summary>docker-compose.yaml</summary> ``` # yaml配置 version: '3' services: s6_175: build: . image: ant_server container_name: s7_17 restart: always tty: true networks: mynet: ipv4_address: 192.168.0.78 privileged: true mynet: driver: macvlan driver_opts: parent: eth0 ipam: config: - subnet: 192.168.0.0/23 ``` </details> <br/>