slither
slither copied to clipboard
Update Dockerfile and add Actions workflow to build it
This PR:
- updates the Dockerfile base to Ubuntu Jammy (22.04)
- separates build and install processes into two stages
- replaces fixed solc binary with solc-select
- adds a workflow that builds the container for
- linux/amd64 (x86_64 systems),
- linux/arm64 (ARM 64-bit systems, eg. Mac M1 with Docker Desktop)
- linux/arm/v7 (ARM 32-bit systems, eg. some SBC systems)
- publishes the container on GHCR:
- matching tagged builds for tag releases,
-
edge
tag matching the latestmaster
commit -
latest
tag matching the latest release -
testing-foo
matching the latest commit in branchfoo
(must be also enabled in the workflowon: ..
section)
Closes: #937, #1330