Skip to content

Build with Docker #68

@danmcnulty

Description

@danmcnulty

Hi,
We're trying to set this up within our CI system by creating an image which contains just the build tool, so a subsequent CI step can run the image using a volume containing our code.

Whenever we run yarn we receive a number of warnings such as these:

[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@1.2.4: The platform "linux" is incompatible with this module.
info "fsevents@1.2.4" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning " > css-loader@2.1.0" has unmet peer dependency "webpack@^4.0.0".
warning " > eslint-loader@2.1.1" has unmet peer dependency "webpack@>=2.0.0 <5.0.0".
warning " > @babel/preset-flow@7.0.0" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "gatsby-plugin-flow > @babel/preset-flow > @babel/plugin-transform-flow-strip-types@7.2.3" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "gatsby-plugin-flow > @babel/preset-flow > @babel/plugin-transform-flow-strip-types > @babel/plugin-syntax-flow@7.2.0" has unmet peer dependency "@babel/core@^7.0.0-0".
warning " > react-ga@2.5.7" has unmet peer dependency "prop-types@^15.6.0".
warning " > react-masonry-css@1.0.12" has unmet peer dependency "prop-types@^15.0.0".
warning " > gatsby-plugin-eslint@2.0.1" has incorrect peer dependency "eslint@^4.9.0".
[4/4] Building fresh packages...
error /app/node_modules/sharp: Command failed.
Exit code: 1

Do you use Docker for development at all, and if so do you have a working Dockerfile which you could share?
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions