File Dockerfile of Package gravci
#!BuildTag: gravci
FROM opensuse/tumbleweed
LABEL maintainer="mimi_vx"
LABEL description="Custom gravity-cannon CI container"
# Define labels according to https://en.opensuse.org/Building_derived_containers
LABEL org.opencontainers.image.title="Gravity-cannon CI container"
LABEL org.opencontainers.image.description="Gravity-cannon CI container"
LABEL org.openbuildservice.disturl="%DISTURL%"
LABEL org.opencontainers.image.created="%BUILDTIME%"
## Install required tools and clear cache
RUN zypper in -y python3 python3-yamllint python3-requests python3-pytest python3-pytest-cov \
python3-ruff python3-PyYAML python3-openqa_client python3-mypy python3-types-requests \
python3-types-PyYAML openQA-client && zypper clean -a && rm -rf /var/cache/*
## certificate trick
COPY SUSE_Trust_Root.pem /etc/pki/trust/anchors/SUSE_Trust_Root.pem
RUN update-ca-certificates