Fix building of Windows helper image
What does this MR do?
Fix building of Windows helper image
Why was this MR needed?
In !1634 (merged) we
changed the WINDOWS_VERSION
to be servercore_1809
from
servercore1809
this was done, so that we can split it via _
to know
which base image to
use
so that we only have 1 Dockerfile defined for all Windows
versions.
Instead of relaying on the _
to string split, just get the substring
since we know the length of chars each Windows version has. This also
brings back the consistency that everything gets name servercore1809
environment variables and images.
Does this MR meet the acceptance criteria?
-
Documentation created/updated -
Added tests for this feature/bug -
In case of conflicts with master
- branch was rebased
What are the relevant issue numbers?
Closes #25976 (closed)