From c4e644406ed5d4bc23d094ba84a60087f2d60590 Mon Sep 17 00:00:00 2001 From: Claudiu Belu Date: Fri, 16 Apr 2021 13:15:04 +0000 Subject: [PATCH] test images: Adds windows-nanoserver image This image is the same as "gcr.io/authenticated-image-pulling/windows-nanoserver:v1" that is used for the "should be able to pull from private registry with secret" test on Windows. Adding this image will allow other people to build and push their own images to their own private registries. --- test/images/windows-nanoserver/BASEIMAGE | 5 +++++ test/images/windows-nanoserver/Dockerfile | 19 +++++++++++++++++++ test/images/windows-nanoserver/VERSION | 1 + 3 files changed, 25 insertions(+) create mode 100644 test/images/windows-nanoserver/BASEIMAGE create mode 100644 test/images/windows-nanoserver/Dockerfile create mode 100644 test/images/windows-nanoserver/VERSION diff --git a/test/images/windows-nanoserver/BASEIMAGE b/test/images/windows-nanoserver/BASEIMAGE new file mode 100644 index 00000000000..da963894f29 --- /dev/null +++ b/test/images/windows-nanoserver/BASEIMAGE @@ -0,0 +1,5 @@ +windows/amd64/1809=mcr.microsoft.com/windows/nanoserver:1809 +windows/amd64/1903=mcr.microsoft.com/windows/nanoserver:1903 +windows/amd64/1909=mcr.microsoft.com/windows/nanoserver:1909 +windows/amd64/2004=mcr.microsoft.com/windows/nanoserver:2004 +windows/amd64/20H2=mcr.microsoft.com/windows/nanoserver:20H2 diff --git a/test/images/windows-nanoserver/Dockerfile b/test/images/windows-nanoserver/Dockerfile new file mode 100644 index 00000000000..babebadd6a1 --- /dev/null +++ b/test/images/windows-nanoserver/Dockerfile @@ -0,0 +1,19 @@ +# Copyright 2021 The Kubernetes Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# NOTE(claudiub): Noop. We're just mirroring the image to staging. +ARG BASEIMAGE +FROM $BASEIMAGE + +LABEL image_version="v1" diff --git a/test/images/windows-nanoserver/VERSION b/test/images/windows-nanoserver/VERSION new file mode 100644 index 00000000000..626799f0f85 --- /dev/null +++ b/test/images/windows-nanoserver/VERSION @@ -0,0 +1 @@ +v1