boyter / scc

Sloc, Cloc and Code: scc is a very fast accurate code counter with complexity calculations and COCOMO estimates written in pure Go
MIT License
6.28k stars 250 forks source link

Fix docker image build #428

Closed lhoupert closed 5 months ago

lhoupert commented 5 months ago

Hi, Sorry I realised my previous pull request was wrong as the dockerfile was not relevant for a fork. I did some changes and tested, it seems to be working fine on my fork: https://github.com/lhoupert/scc/pkgs/container/scc

You can test running the v0.0.2 of docker image generated on my fork with the command below :

docker run --rm -it -v "$PWD:/pwd"  ghcr.io/lhoupert/scc:v0.0.2 scc /pwd

This should fix the github action. Each new release of scc should also create a tagged docker image

boyter commented 5 months ago

No problem. It happens. Thanks for fixing it though!