mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-03 10:06:17 +01:00
behave: Switch the container image to leap:15.5
This commit is contained in:
parent
8f6bafde0a
commit
10dcf966cb
@ -1,6 +1,6 @@
|
|||||||
FROM opensuse/leap:15.4
|
FROM opensuse/leap:15.5
|
||||||
|
|
||||||
RUN zypper ar --repo http://download.opensuse.org/repositories/OBS:/Server:/Unstable/15.4/OBS:Server:Unstable.repo
|
RUN zypper ar --repo http://download.opensuse.org/repositories/OBS:/Server:/Unstable/15.5/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 \
|
||||||
@ -28,5 +28,5 @@ COPY container-oscrc /root/.config/osc/oscrc
|
|||||||
RUN /bin/bash /opt/obs/container-setup-initial-data.sh
|
RUN /bin/bash /opt/obs/container-setup-initial-data.sh
|
||||||
RUN /bin/bash /opt/obs/container-setup-prebuilt-rpms.sh
|
RUN /bin/bash /opt/obs/container-setup-prebuilt-rpms.sh
|
||||||
|
|
||||||
# /sbin/init doesn't exist on Leap 15.4
|
# /sbin/init doesn't exist on Leap 15.5
|
||||||
ENTRYPOINT ["/usr/lib/systemd/systemd"]
|
ENTRYPOINT ["/usr/lib/systemd/systemd"]
|
||||||
|
@ -19,7 +19,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.4
|
$ podman pull opensuse/leap:15.5
|
||||||
|
|
||||||
# build the container image
|
# build the container image
|
||||||
$ ./container-build.sh [--no-cache]
|
$ ./container-build.sh [--no-cache]
|
||||||
|
Loading…
Reference in New Issue
Block a user