Repository navigation
fix(docker): build from source and verify tool downloads - #127
Draft
stevenAthompson wants to merge 1 commit into
Draft
stevenAthompson wants to merge 1 commit into
stevenAthompson wants to merge 1 commit into
Conversation
The published autumn27/artex image no longer exists, and the build downloaded several tool archives without verification. The image is now produced by a multi-stage build: frontend export, Go binary with the embedded UI, pinned and checksum-verified tools, then the runtime layer. docker compose builds locally; install.sh and update.sh build instead of pulling. The release workflow publishes to GHCR, sqlmap/Node/Playwright are pinned, and the stale one-click-update note is removed from build.sh.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The published
autumn27/arteximage no longer exists (Docker Hub returns 404), whiledocker-compose.ymlstill pulled it from a namespace that could be reclaimed. This builds the image from source instead.Changes:
docker-compose.ymlbuildsartex:local;install.shandupdate.shbuild instead of pull.env.exampleupdated; the stale one-click-update note is removed frombuild.shVerification on the build machine (no Docker daemon available there), rebased on v0.4.0:
go build ./...,go vet ./...: passnpm run build:staticwith Node 22: passGOOS=linux GOARCH=amd64 go build -tags embedui -trimpath -ldflags ... ./cmd/artex: pass; the resulting binary starts and prints usagehadolint Dockerfile: no errors (DL3008 and DL4006 warnings only)bash -ndocker builditself was not executed because the machine has no container runtime. Keeping this as a draft untildocker compose buildhas been run once on a Docker host or in CI.