mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-14 06:17:18 +01:00
GHA: Switch obs-server container to SLE 15.6
This commit is contained in:
parent
b554a2b6f0
commit
c6f250c2f3
@ -1,6 +1,6 @@
|
|||||||
FROM opensuse/leap:15.5
|
FROM opensuse/leap:15.6
|
||||||
|
|
||||||
RUN zypper ar --repo http://download.opensuse.org/repositories/OBS:/Server:/Unstable/15.5/OBS:Server:Unstable.repo
|
RUN zypper ar --repo http://download.opensuse.org/repositories/OBS:/Server:/Unstable/15.6/OBS:Server:Unstable.repo
|
||||||
RUN zypper -n --gpg-auto-import-keys refresh
|
RUN zypper -n --gpg-auto-import-keys refresh
|
||||||
RUN zypper -n install \
|
RUN zypper -n install \
|
||||||
bash \
|
bash \
|
||||||
@ -30,5 +30,5 @@ RUN /bin/bash /opt/setup/setup.sh \
|
|||||||
&& rm -rf /srv/obs/service/log/* \
|
&& rm -rf /srv/obs/service/log/* \
|
||||||
&& rm -rf /srv/www/obs/api/log/*
|
&& rm -rf /srv/www/obs/api/log/*
|
||||||
|
|
||||||
# /sbin/init doesn't exist on Leap 15.5
|
# /sbin/init doesn't exist on Leap 15.6
|
||||||
ENTRYPOINT ["/usr/lib/systemd/systemd"]
|
ENTRYPOINT ["/usr/lib/systemd/systemd"]
|
||||||
|
@ -18,7 +18,7 @@ Build a container with OBS
|
|||||||
$ cd behave
|
$ cd behave
|
||||||
|
|
||||||
# optional: refresh the base image
|
# optional: refresh the base image
|
||||||
$ podman pull opensuse/leap:15.5
|
$ podman pull opensuse/leap:15.6
|
||||||
|
|
||||||
# build the container image
|
# build the container image
|
||||||
$ ./container-build.sh [--no-cache]
|
$ ./container-build.sh [--no-cache]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user