1、将sapp的配置文件分成两步作用于container,第一步作用于dockerfile的执行,第二步作用于镜像启动时文件的映射
2、增加docker-compose 执行时生成镜像的操作
This commit is contained in:
75
dockerfile/firewall/Dockerfile
Normal file
75
dockerfile/firewall/Dockerfile
Normal file
@@ -0,0 +1,75 @@
|
||||
FROM docker.io/centos:7
|
||||
|
||||
COPY MESA-Framework.repo /etc/yum.repos.d/
|
||||
COPY framework.conf aws.conf /etc/ld.so.conf.d/
|
||||
#COPY aws.conf /etc/ld.so.conf.d/
|
||||
COPY supervisord.conf /etc/
|
||||
|
||||
RUN yum makecache \
|
||||
&& yum install -y \
|
||||
libcjson \
|
||||
libdocumentanalyze \
|
||||
libmaatframe \
|
||||
libMESA_field_stat \
|
||||
libMESA_field_stat2 \
|
||||
libMESA_handle_logger \
|
||||
libMESA_htable\
|
||||
libMESA_prof_load \
|
||||
librdkafka \
|
||||
librulescan \
|
||||
libtsglua \
|
||||
libwiredcfg \
|
||||
libWiredLB \
|
||||
lz4 \
|
||||
libbreakpad_mini \
|
||||
mrzcpd \
|
||||
sapp \
|
||||
tcpdump_mesa \
|
||||
tsg_master \
|
||||
kni \
|
||||
capture_packet_plug \
|
||||
conn_telemetry \
|
||||
dns \
|
||||
ftp \
|
||||
fw_dns_plug \
|
||||
#fw_ftp_plug \
|
||||
fw_http_plug \
|
||||
fw_mail_plug \
|
||||
fw_quic_plug \
|
||||
fw_ssl_plug \
|
||||
http \
|
||||
mail \
|
||||
quic \
|
||||
ssl \
|
||||
tsg_conn_sketch \
|
||||
app_control_plug \
|
||||
app_sketch_local \
|
||||
libwangw \
|
||||
libwire_graft
|
||||
# http_healthcheck
|
||||
|
||||
|
||||
RUN yum install -y \
|
||||
fw_ftp_plug \
|
||||
epel-release \
|
||||
python3 \
|
||||
gdb \
|
||||
numactl \
|
||||
strace \
|
||||
tcpdump \
|
||||
net-tools \
|
||||
vim \
|
||||
&& pip3 install supervisor \
|
||||
&& yum clean all \
|
||||
&& ldconfig
|
||||
|
||||
COPY config/sapp_run/etc/project_list.conf /home/mesasoft/sapp_run/etc/project_list.conf
|
||||
COPY config/sapp_run/etc/kni/kni.conf /home/mesasoft/sapp_run/etc/kni/kni.conf
|
||||
COPY config/sapp_run/etc/entrylist.conf /home/mesasoft/sapp_run/etc/entrylist.conf
|
||||
COPY config/sapp_run/tsgconf/app_l7_proto_id.conf /home/mesasoft/sapp_run/tsgconf/app_l7_proto_id.conf
|
||||
COPY config/sapp_run/plug/business/tsg_conn_sketch/tsg_conn_sketch.inf /home/mesasoft/sapp_run/plug/business/tsg_conn_sketch/tsg_conn_sketch.inf
|
||||
COPY config/sapp_run/plug/conflist.inf /home/mesasoft/sapp_run/plug/conflist.inf
|
||||
|
||||
WORKDIR /home/mesasoft/sapp_run/
|
||||
ENTRYPOINT ["/usr/local/bin/supervisord" ,"-n","-c", "/etc/supervisord.conf"]
|
||||
|
||||
Reference in New Issue
Block a user