Dirk Müller 555101b3ea
Install tools explicitly to avoid busybox variants being picked
zypper has the nasty habit of picking the alphabetically first
package variant, which is not what we want
2024-07-03 08:50:03 +02:00

19 lines
976 B
Docker

#!BuildTag: osrt_testenv_tumbleweed
FROM opensuse/tumbleweed
# make sure we see osc regressions earlier than it hitting tumbleweed
RUN zypper -n ar http://download.opensuse.org/repositories/openSUSE:/Tools/openSUSE_Tumbleweed/ openSUSE:Tools
RUN zypper --gpg-auto-import-keys ref
RUN zypper in -y osc python3-pytest python3-httpretty python3-pyxdg python3-PyYAML \
python3-pika python3-cmdln python3-lxml python3-python-dateutil python3-colorama \
python3-influxdb python3-pytest-cov libxml2-tools curl python3-flake8 python3-requests \
shadow vim vim-data strace git sudo patch unzip which cpio gawk openSUSE-release openSUSE-release-ftp \
perl-Net-SSLeay perl-Text-Diff perl-XML-Simple perl-XML-Parser build \
obs-service-download_files obs-service-format_spec_file obs-scm-bridge
RUN useradd tester -d /code/tests/home
COPY run_as_tester /usr/bin
# OBS does not know about executable files, so we need to tweak it manually
RUN chmod a+x /usr/bin/run_as_tester