Closed dbast closed 4 years ago
I'll be uploading packages to Dockerhub and GitHub Packages in the near future.
Ping: Any update on uploading the Docker Image to Dockerhub?
@dbast Sorry for the delay.
I uploaded the package to GitHub Packages and Docker Hub. It's the same image for both.
https://github.com/hhatto/gocloc/packages/350535 https://hub.docker.com/r/hhatto/gocloc
I'd be very grateful if you could let me know if there are any problems.
Thanks
Works, thanks!
Container size is minimized by the ldflags (which strip debugging symbols) and compressing via upx.
After merging the PR, it would be nice if the dockerhub cloud builder could be activated to upload to image to Dockerhub for master=latest and $tags.
This then allows to use gocloc e.g. on CI via:
docker run -v ${PWD}:/workdir hhatto/gocloc .
ordocker run -v ${PWD}:/workdir hhatto/gocloc:$VERSION .
(instead of wget $release && $hashcheck && tar -xf .. && chmod +x .. && gocloc .).Thanks!