-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker image fails to build due to package dependency constraints #20
Comments
I think we can get away with building the image from a Node or Scala base
image. The underscoreio/book image has a bunch of dependencies that we are
not actually using here (most notably pandit-include). I’m playing with
this in a branch off of Noel’s branch, where I’m also trying to reduce our
reliance on Grunt, Coffeescript, and other oddities from the JavaScript
ecosystem. I’ll try to post something for review in the next day or so.
…On 30 January 2020 at 08:29:16, Niklas Vest ***@***.***) wrote:
When running the command docker build -t underscore/book . as instructed
in the README
<https://github.com/underscoreio/underscore-ebook-template/blob/develop/README.md>,
the image build fails with the following error message:
Error: While constructing the build plan, the following exceptions were encountered:
In the dependencies for pandoc-crossref-0.2.5.0:
containers-0.6.0.1 from stack configuration does not match >=0.1 && <0.6 (latest matching
version is 0.5.11.0)
needed since pandoc-crossref is a build target.
In the dependencies for syb-0.6:
base-4.12.0.0 from stack configuration does not match >=4.0 && <4.10 (latest matching version
is 4.9.1.0)
needed since syb is a build target.
Some different approaches to resolving this:
* Set 'allow-newer: true'
in /root/.stack/config.yaml to ignore all version constraints and build anyway.
* Build requires unattainable version of base. Since base is a part of GHC, you most likely need
to use a different GHC version with the matching base.
Plan construction failed.
The command '/bin/sh -c stack install pandoc roman-numerals-0.5.1.5 syb-0.6 pandoc-crossref-0.2.5.0 pandoc-include-0.0.1' returned a non-zero code: 1
Consider updating the Dockerfile or adding instructions to the README on
how to fix the conflicts manually.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#20?email_source=notifications&email_token=AABYRZYN5UUQFRPL4CQNJ5DRAKFVZA5CNFSM4KNRZPVKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IJYJRBA>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABYRZ77LDNY6EREVETB73DRAKFVZANCNFSM4KNRZPVA>
.
|
Any updates yet? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When running the command
docker build -t underscore/book .
as instructed in the README, the image build fails with the following error message:Consider updating the
Dockerfile
or adding instructions to the README on how to fix the conflicts manually.The text was updated successfully, but these errors were encountered: