Skip to content

Commit

Permalink
Update Dockerfile.template.erb
Browse files Browse the repository at this point in the history
Co-authored-by: Daijiro Fukuda <[email protected]>
Signed-off-by: Kentaro Hayashi <[email protected]>
  • Loading branch information
kenhys and daipom committed Sep 17, 2024
1 parent 00408ad commit 08d0069
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile.template.erb
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ RUN choco install -y ruby --version 3.2.4.1 --params "'/InstallDir:C:\ruby32'" \
RUN refreshenv \
&& ridk install 3 \
&& type "c:\ProgramData\gemrc" \
&& c:\ruby32\bin\ruby -e "require 'yaml'; File.open('c:/ProgramData/gemrc') do |file| yaml = YAML.safe_load(file); yaml['install'] = '--no-document'; yaml['update'] = '--no-document'; File.open('c:/ProgramData/gemrc', 'w+') do |output| output.puts(YAML.dump(yaml)); end; end" \
&& 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 \
Expand Down

0 comments on commit 08d0069

Please sign in to comment.