From 147cc0123397304a6c7a437a30128c7504491366 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Wed, 13 May 2026 14:52:36 +0200 Subject: [PATCH 1/2] Fix Dockerfile warning about LegacyKeyValueFormat > 1 warning found (use docker --debug to expand): > - LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 19) --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 3fe84d6..bd5131b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,7 +16,7 @@ RUN apt-get install -y apt-utils \ vim nano git # Force nokogiri gem not to compile libxml2, it takes too long -ENV NOKOGIRI_USE_SYSTEM_LIBRARIES 1 +ENV NOKOGIRI_USE_SYSTEM_LIBRARIES=1 # Install thor and rspec globally so we can test the gem without bundle exec RUN gem install thor rspec --no-document From 8a384d3cb0b610d1f547bdb0df35ed3e3f157102 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Wed, 13 May 2026 14:54:26 +0200 Subject: [PATCH 2/2] Fix "sitediff" command available in docker container Since v1.2.10 it is broken: > :85:in `require': cannot load such file -- sitediff/cli (LoadError) > from :85:in `require' > from /usr/local/bundle/gems/sitediff-1.2.9/bin/sitediff:9:in `' > from /usr/local/bundle/bin/sitediff:25:in `load' > from /usr/local/bundle/bin/sitediff:25:in `
' Resolves: https://github.com/evolvingweb/sitediff/issues/197 --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index bd5131b..d236310 100644 --- a/Dockerfile +++ b/Dockerfile @@ -31,3 +31,5 @@ RUN gem build sitediff.gemspec && gem install sitediff --no-document # Build locally RUN bundle install + +ENV PATH="/sitediff/bin:${PATH}"