{% import 'dockerfile-macros.j2' as macros -%} ARG BASE_IMAGE FROM ${BASE_IMAGE} COPY files/redis-6.2.5-1.el7.remi.x86_64.rpm /tmp/ RUN dnf -y install /tmp/redis-6.2.5-1.el7.remi.x86_64.rpm && \ rm -rf /tmp/redis-6.2.5-1.el7.remi.x86_64.rpm && \ {{ macros.install_packages(packages) }} && \ {{ macros.clean_after_install_packages() }} # files COPY files/zlog.conf /opt/tsg/certstore/conf/ COPY files/cert-redis.conf /etc/ # templates COPY templates/* /templates/ # scripts COPY --chmod=755 entrypoint.sh /usr/local/bin/ WORKDIR /opt/tsg/certstore CMD ["/bin/bash"]