Skip to content

Can't build docker image #83

@rogeriobastos

Description

@rogeriobastos

docker build . -t huskyci/dashboard:latest

Sending build context to Docker daemon 3.317MB
Step 1/12 : FROM node as build-deps
---> 7105279fa2ab
Step 2/12 : ENV REACT_APP_HUSKYCI_FE_API_ADDRESS http://127.0.0.1:8888
---> Using cache
---> fd9b6b846e93
Step 3/12 : WORKDIR /usr/src/app
---> Using cache
---> 34d0f1513c05
Step 4/12 : COPY package.json yarn.lock ./
---> c68dbbf724ec
Step 5/12 : RUN yarn
---> Running in 54d99679da39
yarn install v1.22.5
[1/4] Resolving packages...
[2/4] Fetching packages...
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning "react-scripts > [email protected]" has incorrect peer dependency "[email protected]".
warning " > [email protected]" has unmet peer dependency "eslint@^3 || ^4 || ^5 || ^6".
warning " > [email protected]" has unmet peer dependency "eslint@^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0".
warning "snyk > @snyk/snyk-cocoapods-plugin > @snyk/[email protected]" has incorrect peer dependency "@snyk/[email protected]".
warning "snyk > @snyk/snyk-cocoapods-plugin > @snyk/[email protected]" has incorrect peer dependency "@snyk/[email protected]".
warning "snyk > @snyk/snyk-cocoapods-plugin > @snyk/[email protected]" has incorrect peer dependency "tslib@^1.9.3".
warning " > [email protected]" has unmet peer dependency "eslint@>= 4.12.1".
warning " > [email protected]" has unmet peer dependency "eslint@^5.16.0 || ^6.1.0".
warning "eslint-config-airbnb > [email protected]" has unmet peer dependency "eslint@^5.16.0 || ^6.8.0".
warning " > [email protected]" has unmet peer dependency "eslint@>=3.14.1".
warning " > [email protected]" has unmet peer dependency "[email protected] - 6.x".
warning " > [email protected]" has unmet peer dependency "eslint@>=5".
warning "eslint-plugin-jest > @typescript-eslint/[email protected]" has unmet peer dependency "eslint@*".
warning " > [email protected]" has unmet peer dependency "eslint@>= 5.0.0".
warning " > [email protected]" has unmet peer dependency "eslint@^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0".
warning Workspaces can only be enabled in private projects.
[4/4] Building fresh packages...
success Saved lockfile.
$ yarn run snyk-protect
yarn run v1.22.5
$ snyk protect
Could not load policy. Try running snyk wizard to define a Snyk protect policy

error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
The command '/bin/sh -c yarn' returned a non-zero code: 2

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