You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tooling.apache.org by sb...@apache.org on 2025/10/28 19:24:19 UTC

(tooling-trusted-releases) branch main updated: Add a make target to run an Alpine container for local development

This is an automated email from the ASF dual-hosted git repository.

sbp pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git


The following commit(s) were added to refs/heads/main by this push:
     new 0356a70  Add a make target to run an Alpine container for local development
0356a70 is described below

commit 0356a7084ba254edcb9794e508245b6939200c15
Author: Sean B. Palmer <se...@miscoranda.com>
AuthorDate: Tue Oct 28 19:23:56 2025 +0000

    Add a make target to run an Alpine container for local development
---
 Makefile | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 9203f4f..3c31596 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 .PHONY: build build-alpine build-playwright build-ts build-ubuntu certs \
   check check-extra check-light commit docs generate-version ipython \
-  manual run-playwright run-playwright-slow serve serve-local sync \
-  sync-all update-deps
+  manual run-alpine run-playwright run-playwright-slow serve serve-local \
+  sync sync-all update-deps
 
 BIND ?= 127.0.0.1:8080
 IMAGE ?= tooling-trusted-release
@@ -67,6 +67,15 @@ generate-version:
 ipython:
 	uv run --frozen --with ipython ipython
 
+run-alpine:
+	docker run -p 8080:8080 -p 2222:2222 \
+	  -v "$$PWD/state:/opt/atr/state" \
+	  -v "$$PWD/state/localhost.apache.org+3-key.pem:/opt/atr/state/key.pem" \
+	  -v "$$PWD/state/localhost.apache.org+3.pem:/opt/atr/state/cert.pem" \
+	  -e APP_HOST=localhost.apache.org:8080 -e SECRET_KEY=insecure-local-key \
+	  -e ALLOW_TESTS=1 -e SSH_HOST=0.0.0.0 -e BIND=0.0.0.0:8080 \
+	  tooling-trusted-release
+
 run-playwright:
 	docker run --net=host -it atr-playwright python3 test.py --skip-slow
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tooling.apache.org
For additional commands, e-mail: commits-help@tooling.apache.org