Skip to content

Commit

Permalink
fix: add OSVersion arg in Dockerfile.Windows to fix windows 2022 test…
Browse files Browse the repository at this point in the history
… failure
  • Loading branch information
andyzhangx committed Aug 14, 2024
1 parent 7b0d59c commit a56152c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cmd/smbplugin/Dockerfile.Windows
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@
# limitations under the License.

# these arguments come from BUILD_PLATFORMS used in release-tools
ARG ADDON_IMAGE=servercore:1809
ARG BASE_IMAGE=nanoserver:1809
ARG OSVERSION
ARG ADDON_IMAGE=servercore:${OSVERSION}
ARG BASE_IMAGE=nanoserver:${OSVERSION}
ARG REGISTRY=mcr.microsoft.com/windows

FROM ${REGISTRY}/${ADDON_IMAGE} AS addon
Expand Down

0 comments on commit a56152c

Please sign in to comment.