this shaves off a few MBs from the final image (dive reports 78 MB -> 73 MB). i've tested that these changes work by deploying the image to my knot and was able to push this branch to my fork hosted there still 😈 (and yes i learned the whole special * passwd stuff by being locked out initially vv)
knot | User git not allowed because account is locked
knot | maximum authentication attempts exceeded for invalid user git from 97.118.232.59 port 44814 ssh2 [preauth]
knot | Disconnecting invalid user git 97.118.232.59 port 44814: Too many authentication failures [preauth]
i've verified that all the usual things work still:
- you're able to get a shell in the docker container with
$ docker exec -it knot shsincebashis removed - trying to use
*as the password for thegituser correctly fails