From 683fc17608f4779e71aafb8fbabc42964fd8b936 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Thu, 29 Jan 2026 08:33:13 +0200 Subject: Add Docker image for f3s deployment Amp-Thread-ID: https://ampcode.com/threads/T-019c086d-c760-779d-b740-0f748094b62a Co-authored-by: Amp --- docker-image/Justfile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 docker-image/Justfile (limited to 'docker-image/Justfile') diff --git a/docker-image/Justfile b/docker-image/Justfile new file mode 100644 index 0000000..ebb9c1e --- /dev/null +++ b/docker-image/Justfile @@ -0,0 +1,21 @@ +VERSION := "1.0.0" +REGISTRY := "r0.lan.buetow.org:30001" +IMAGE := "ipv6test" + +# Build the Docker image +build: + docker build -t {{IMAGE}}:{{VERSION}} . + +# Build and push to f3s registry +f3s: + docker build -t {{IMAGE}}:{{VERSION}} . + docker tag {{IMAGE}}:{{VERSION}} {{REGISTRY}}/{{IMAGE}}:{{VERSION}} + docker push {{REGISTRY}}/{{IMAGE}}:{{VERSION}} + +# Run locally for testing +run: + docker run -it --rm -p 8080:80 {{IMAGE}}:{{VERSION}} + +# Shell into the container for debugging +shell: + docker run -it --rm {{IMAGE}}:{{VERSION}} /bin/sh -- cgit v1.2.3