This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
tsg-tsg-os-buildimage/containers/firewall/Dockerfile.j2

27 lines
931 B
Django/Jinja

{% import 'dockerfile-macros.j2' as macros -%}
ARG BASE_IMAGE
FROM ${BASE_IMAGE}
RUN {{ macros.install_packages(packages) }} && \
{{ macros.clean_after_install_packages() }} && \
rm -rf /opt/tsg/sapp/r2 && \
rm -rf /opt/tsg/sapp/r3
# files
COPY files/quic/main.conf /opt/tsg/sapp/conf/quic/main.conf
COPY files/entrylist.conf /opt/tsg/sapp/etc/
COPY files/firewall_l7_protocol.conf /opt/tsg/sapp/tsgconf/
COPY files/http.conf /opt/tsg/sapp/conf/http/
COPY files/necessary_plug_list.conf /opt/tsg/sapp/etc/
COPY files/project_list.conf /opt/tsg/sapp/etc/
COPY files/sapp_log.conf /opt/tsg/sapp/etc/
COPY files/vlan_flipping_map.conf /opt/tsg/sapp/etc/
COPY files/well_known_port.conf /opt/tsg/sapp/etc/
# templates
COPY templates/* /templates/
# scripts
COPY --chmod=755 entrypoint.sh /usr/local/bin/
WORKDIR /opt/tsg/sapp
CMD ["/bin/bash"]