Skip to content
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

Can't build docker image #83

Open
rogeriobastos opened this issue Jun 23, 2021 · 0 comments · May be fixed by #84
Open

Can't build docker image #83

rogeriobastos opened this issue Jun 23, 2021 · 0 comments · May be fixed by #84

Comments

@rogeriobastos
Copy link

rogeriobastos commented Jun 23, 2021

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 fsevents@2.1.2: The platform "linux" is incompatible with this module.
info "fsevents@2.1.2" is an optional dependency and failed compatibility check. Excluding it from installation.
info fsevents@1.2.11: The platform "linux" is incompatible with this module.
info "fsevents@1.2.11" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning "react-scripts > eslint-config-react-app@5.2.0" has incorrect peer dependency "eslint-plugin-flowtype@3.x".
warning " > eslint-plugin-jsx-a11y@6.2.3" has unmet peer dependency "eslint@^3 || ^4 || ^5 || ^6".
warning " > eslint-plugin-react-hooks@1.7.0" has unmet peer dependency "eslint@^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0".
warning "snyk > @snyk/snyk-cocoapods-plugin > @snyk/cli-interface@2.11.1" has incorrect peer dependency "@snyk/dep-graph@1.19.2".
warning "snyk > @snyk/snyk-cocoapods-plugin > @snyk/cli-interface@2.11.1" has incorrect peer dependency "@snyk/graphlib@2.1.9-patch".
warning "snyk > @snyk/snyk-cocoapods-plugin > @snyk/cli-interface@2.11.1" has incorrect peer dependency "tslib@^1.9.3".
warning " > babel-eslint@10.1.0" has unmet peer dependency "eslint@>= 4.12.1".
warning " > eslint-config-airbnb@18.0.1" has unmet peer dependency "eslint@^5.16.0 || ^6.1.0".
warning "eslint-config-airbnb > eslint-config-airbnb-base@14.1.0" has unmet peer dependency "eslint@^5.16.0 || ^6.8.0".
warning " > eslint-config-prettier@6.10.0" has unmet peer dependency "eslint@>=3.14.1".
warning " > eslint-plugin-import@2.20.1" has unmet peer dependency "eslint@2.x - 6.x".
warning " > eslint-plugin-jest@22.21.0" has unmet peer dependency "eslint@>=5".
warning "eslint-plugin-jest > @typescript-eslint/experimental-utils@1.13.0" has unmet peer dependency "eslint@*".
warning " > eslint-plugin-prettier@3.1.2" has unmet peer dependency "eslint@>= 5.0.0".
warning " > eslint-plugin-react@7.19.0" 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

@rogeriobastos rogeriobastos linked a pull request Jun 29, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant