mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-25 17:36:13 +01:00
33 lines
853 B
Plaintext
33 lines
853 B
Plaintext
|
FROM opensuse/leap:15.4
|
||
|
|
||
|
RUN zypper ar --repo http://download.opensuse.org/repositories/OBS:/Server:/Unstable/15.4/OBS:Server:Unstable.repo
|
||
|
RUN zypper -n --gpg-auto-import-keys refresh
|
||
|
RUN zypper -n install \
|
||
|
bash \
|
||
|
bash-completion \
|
||
|
git \
|
||
|
less \
|
||
|
obs-api \
|
||
|
obs-server \
|
||
|
obs-signd \
|
||
|
obs-worker \
|
||
|
osc \
|
||
|
openslp \
|
||
|
openssl \
|
||
|
perl-XML-SAX \
|
||
|
rpm-build \
|
||
|
systemd \
|
||
|
vim \
|
||
|
&& rm -rf /var/cache/zypp/*
|
||
|
|
||
|
# increase the number if we need to run the following setup steps again (for debugging purposes)
|
||
|
ENV BUILD_NUMBER 1
|
||
|
|
||
|
RUN /bin/bash /opt/obs/container-setup.sh
|
||
|
COPY container-oscrc /root/.config/osc/oscrc
|
||
|
RUN /bin/bash /opt/obs/container-setup-initial-data.sh
|
||
|
RUN /bin/bash /opt/obs/container-setup-prebuilt-rpms.sh
|
||
|
|
||
|
# /sbin/init doesn't exist on Leap 15.4
|
||
|
ENTRYPOINT ["/usr/lib/systemd/systemd"]
|