Terrapin-Scanner icon indicating copy to clipboard operation
Terrapin-Scanner copied to clipboard

Add a Dockerfile and GitHub Actions script

Open PythonCoderAS opened this issue 2 years ago • 1 comments

This allows someone to manually build the Docker image or just use the prebuilt one (built with GitHub Actions).

Fix #18

Note: In order for the Docker image to be pullable, another release will have to be made so a new tag is created.

PythonCoderAS avatar Jan 01 '24 14:01 PythonCoderAS

Thanks for the PR! I'll test this as soon as I return from vacation by next week. Until then, everyone interested may build the image from your branch.

TrueSkrillor avatar Jan 03 '24 15:01 TrueSkrillor

For some reason the workflow does not run on v4.

PythonCoderAS avatar Jan 08 '24 19:01 PythonCoderAS

Sorry for the force pushes, messed up my last commit. Should be good to merge now, I updated the GH action versions (excluding upload-artifact / download-artifact for now) and the golang version (no apparent reason to pin it at 1.18 instead of 1.21).

TrueSkrillor avatar Jan 09 '24 12:01 TrueSkrillor

Sorry for the force pushes, messed up my last commit. Should be good to merge now, I updated the GH action versions (excluding upload-artifact / download-artifact for now) and the golang version (no apparent reason to pin it at 1.18 instead of 1.21).

I pinned it to 1.18 because that's what the go.mod file contains.

PythonCoderAS avatar Jan 09 '24 14:01 PythonCoderAS

Yeah, the go version specified in the go.mod file is the minimum version required to build the project. But doesn't matter, builds fine either way.

TrueSkrillor avatar Jan 09 '24 15:01 TrueSkrillor