Skip to content

Commit d4b89d0

Browse files
committed
Use stable ppc64le coreos qemu image
Signed-off-by: Yussuf Shaikh <[email protected]>
1 parent fe46a07 commit d4b89d0

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

Dockerfile

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,10 @@ RUN ARCH=$(uname -m) ; echo $ARCH \
1313

1414
FROM base AS executor-img
1515

16-
RUN ARCH=$(uname -m) ; echo $ARCH ; \
17-
if [[ $ARCH == "ppc64le" ]] ; then \
18-
echo "Downloading https://builds.coreos.fedoraproject.org/prod/streams/stable/builds/36.20220906.3.1/ppc64le/fedora-coreos-36.20220906.3.1-qemu.ppc64le.qcow2.xz" && \
19-
curl -s -o coreos_production_qemu_image.qcow2.xz https://builds.coreos.fedoraproject.org/prod/streams/stable/builds/36.20220906.3.1/ppc64le/fedora-coreos-36.20220906.3.1-qemu.ppc64le.qcow2.xz && \
20-
unxz coreos_production_qemu_image.qcow2.xz ; \
21-
else \
22-
echo $ARCH && \
16+
RUN ARCH=$(uname -m) ; \
2317
echo "Downloading" $(cat stable.json | jq -r --arg arch "$ARCH" '.architectures[$arch].artifacts.qemu.formats."qcow2.xz".disk.location') && \
2418
curl -s -o coreos_production_qemu_image.qcow2.xz $(cat stable.json | jq -r --arg arch "$ARCH" '.architectures[$arch].artifacts.qemu.formats."qcow2.xz".disk.location') && \
25-
unxz coreos_production_qemu_image.qcow2.xz \
26-
; fi
19+
unxz coreos_production_qemu_image.qcow2.xz
2720

2821
FROM base AS final
2922
ARG channel=stable

0 commit comments

Comments
 (0)