1 # THIS FILE WAS AUTO-GENERATED
3 # $ lcitool dockerfile --layers all opensuse-leap-15 qemu
5 # https://gitlab.com/libvirt/libvirt-ci
7 FROM registry.opensuse.org/opensuse/leap:15.6
9 RUN zypper update -y && \
10 zypper addrepo -fc https://download.opensuse.org/update/leap/15.6/backports/openSUSE:Backports:SLE-15-SP6:Update.repo && \
73 libspice-server-devel \
97 python311-setuptools \
104 spice-protocol-devel \
107 systemtap-sdt-devel \
110 tesseract-ocr-traineddata-english \
113 virglrenderer-devel \
121 zypper clean --all && \
122 rm -f /usr/lib*/python3*/EXTERNALLY-MANAGED && \
123 rpm -qa | sort > /packages.txt && \
124 mkdir -p /usr/libexec/ccache-wrappers && \
125 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
126 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/clang && \
127 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
129 RUN /usr/bin/pip3.11 install \
136 ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
137 ENV LANG "en_US.UTF-8"
138 ENV MAKE "/usr/bin/make"
139 ENV NINJA "/usr/bin/ninja"
140 ENV PYTHON "/usr/bin/python3.11"
141 # As a final step configure the user (if env is defined)
144 RUN if [ "${USER}" ]; then \
145 id ${USER} 2>/dev/null || useradd -u ${UID} -U ${USER}; fi