# Use the same base image as the Gitea container FROM registry.suse.com/bci/bci-base:15.7 # Add the custom CA to the trust store COPY rabbitmq-config/certs/cert.pem /usr/share/pki/trust/anchors/gitea-rabbitmq-ca.crt RUN update-ca-certificates RUN zypper ar -f http://download.opensuse.org/repositories/devel:/Factory:/git-workflow/15.7/devel:Factory:git-workflow.repo RUN zypper --gpg-auto-import-keys ref # Install git and ssh RUN zypper -n in git-core openssh-clients autogits-workflow-pr binutils COPY integration/workflow-pr/entrypoint.sh /usr/local/bin/entrypoint.sh RUN chmod +4755 /usr/local/bin/entrypoint.sh # Set the entrypoint for the container ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]