agent icon indicating copy to clipboard operation
agent copied to clipboard

Error when buid docker image [debian repo + eslint error]

Open andp97 opened this issue 4 years ago • 0 comments

Step to reproduce:

Clone the repo at current master branch

docker build -t kerberos/opensource .
  1. Error on Dockerfile maybe caused by older version of debian present on FROM command:
Reading package lists...
E: Repository 'http://security.debian.org/debian-security buster/updates InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
E: Repository 'http://deb.debian.org/debian buster InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
E: Repository 'http://deb.debian.org/debian buster-updates InRelease' changed its 'Suite' value from 'stable-updates' to 'oldstable-updates'
The command '/bin/sh -c apt-get update && apt-get install -y curl && curl -sL https://deb.nodesource.com/setup_14.x | bash - &&     curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - &&     echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list &&     apt update && apt install yarn -y' returned a non-zero code: 100

  1. After fixing Docker file i see this eslint error:
src/containers/RequireInstall.jsx
  Line 10:14:  Replace `⏎········isAuthenticated,⏎········isInstalled,⏎········redirectDashboard,⏎········redirectLogin,` with `·isAuthenticated,·isInstalled,·redirectDashboard,·redirectLogin·}·=`  prettier/prettier
  Line 15:7:   Replace `}·=` with `·`                                                                                                                                                                 prettier/prettier

andp97 avatar Oct 10 '21 17:10 andp97