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/trex/Dockerfile.j2

21 lines
527 B
Django/Jinja

{% import 'dockerfile-macros.j2' as macros -%}
ARG BASE_IMAGE
FROM ${BASE_IMAGE}
COPY files/* /opt/tsg/trex/
RUN {{ macros.install_packages(packages) }} && \
{{ macros.clean_after_install_packages() }} && \
tar -xzvf /opt/tsg/trex/v3.02.tar.gz -C /opt/tsg/trex && \
rm -f /opt/tsg/trex/v3.02.tar.gz && \
tar -xzvf /opt/tsg/trex/trex-helper.tar.gz -C /opt/tsg/ && \
rm -f /opt/tsg/trex/trex-helper.tar.gz
# scripts
COPY --chmod=755 entrypoint.sh /usr/local/bin/
WORKDIR /opt/tsg/trex
CMD ["/bin/bash"]