agent
agent copied to clipboard
Error when buid docker image [debian repo + eslint error]
Step to reproduce:
Clone the repo at current master branch
docker build -t kerberos/opensource .
- Error on
Dockerfilemaybe caused by older version of debian present onFROMcommand:
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
- After fixing
Dockerfile 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