mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 12:15:52 +00:00
test images: Fixes Windows busybox image
The image "e2eteam/powershell-helper:6.2.7-linux-cache" is a Linux image. Because we're running "docker buildx build --platform windows/amd64", docker buildx will consider it as a Windows image unless we explicitly specify otherwise. If the image's platform is not correctly identified, we can run into problems when trying to build the image. We are already doing something similar with the windows-servercore-cache image.
This commit is contained in:
parent
2f3ea9b7c5
commit
327093093d
@ -57,7 +57,7 @@ RUN mkdir /curl-full /curl-dir && \
|
||||
|
||||
# Windows Stage
|
||||
FROM --platform=linux/amd64 $REGISTRY/windows-servercore-cache:1.0-linux-amd64-$OS_VERSION as servercore-helper
|
||||
FROM e2eteam/powershell-helper:6.2.7-linux-cache as ps-helper
|
||||
FROM --platform=linux/amd64 e2eteam/powershell-helper:6.2.7-linux-cache as ps-helper
|
||||
FROM $BASEIMAGE
|
||||
|
||||
COPY --from=prep /tmp-dir /tmp
|
||||
|
Loading…
Reference in New Issue
Block a user