When trying to build the docker container, I get an error:
$ docker build . --tag sitediff
[...]
=> [ 9/10] RUN gem build sitediff.gemspec && gem install sitediff --no-document 1.4s
=> ERROR [10/10] RUN bundle install 4.2s
------
> [10/10] RUN bundle install:
[...]
3.137 Installing nokogiri 1.18.8 (x86_64-linux-gnu)
4.108 Downloading typhoeus-1.4.1 revealed dependencies not in the API or the lockfile
4.108 (ethon (>= 0.9.0)).
4.108 Either installing with `--full-index` or running `bundle update typhoeus` should
4.108 fix the problem.
------
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:33
--------------------
31 |
32 | # Build locally
33 | >>> RUN bundle install
34 |
--------------------
ERROR: failed to build: failed to solve: process "/bin/sh -c bundle install" did not complete successfully: exit code: 34
Workaround
Modify the last line of Dockerfile:
RUN bundle install; bundle update typhoeus; bundle install
When trying to build the docker container, I get an error:
Workaround
Modify the last line of
Dockerfile: