From fe55631c152fe0bc0dc056f2a44399ffeb52d1a9 Mon Sep 17 00:00:00 2001 From: Kentaro Hayashi Date: Fri, 13 Sep 2024 16:22:48 +0900 Subject: [PATCH] Re-generate Dockerfile Signed-off-by: Kentaro Hayashi --- v1.17/windows-ltsc2019/Dockerfile | 4 +++- v1.17/windows-ltsc2022/Dockerfile | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/v1.17/windows-ltsc2019/Dockerfile b/v1.17/windows-ltsc2019/Dockerfile index c6261d7..70d1f8c 100644 --- a/v1.17/windows-ltsc2019/Dockerfile +++ b/v1.17/windows-ltsc2019/Dockerfile @@ -14,7 +14,9 @@ RUN choco install -y ruby --version 3.2.4.1 --params "'/InstallDir:C:\ruby32'" \ && choco install -y msys2 --version 20240507.0.0 --params "'/NoPath /NoUpdate /InstallDir:C:\ruby32\msys64'" RUN refreshenv \ && ridk install 3 \ -&& echo gem: --no-document >> C:\ProgramData\gemrc \ +&& type "c:\ProgramData\gemrc" \ +&& c:\ruby32\bin\ruby -r yaml -e "path = 'c:/ProgramData/gemrc'; yaml = YAML.safe_load(File.read(path)); yaml['install'] = '--no-document'; yaml['update'] = '--no-document'; File.write(path, YAML.dump(yaml))" \ +&& type "c:\ProgramData\gemrc" \ && gem install oj -v 3.16.5 \ && gem install json -v 2.7.2 \ && gem install rexml -v 3.3.5 \ diff --git a/v1.17/windows-ltsc2022/Dockerfile b/v1.17/windows-ltsc2022/Dockerfile index 54b0c68..ee4efe2 100644 --- a/v1.17/windows-ltsc2022/Dockerfile +++ b/v1.17/windows-ltsc2022/Dockerfile @@ -14,7 +14,9 @@ RUN choco install -y ruby --version 3.2.4.1 --params "'/InstallDir:C:\ruby32'" \ && choco install -y msys2 --version 20240507.0.0 --params "'/NoPath /NoUpdate /InstallDir:C:\ruby32\msys64'" RUN refreshenv \ && ridk install 3 \ -&& echo gem: --no-document >> C:\ProgramData\gemrc \ +&& type "c:\ProgramData\gemrc" \ +&& c:\ruby32\bin\ruby -r yaml -e "path = 'c:/ProgramData/gemrc'; yaml = YAML.safe_load(File.read(path)); yaml['install'] = '--no-document'; yaml['update'] = '--no-document'; File.write(path, YAML.dump(yaml))" \ +&& type "c:\ProgramData\gemrc" \ && gem install oj -v 3.16.5 \ && gem install json -v 2.7.2 \ && gem install rexml -v 3.3.5 \