From f8f855fd8fec925b66f2b849322bc7ae296d5a5b Mon Sep 17 00:00:00 2001 From: DJ Stomp <85457381+DJStompZone@users.noreply.github.com> Date: Wed, 18 Jun 2025 03:14:36 -0500 Subject: [PATCH 1/2] Fix invalid go version string --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index c843345..51f0a3f 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/itzg/mc-server-runner -go 1.23.0 +go 1.23 require ( github.com/google/uuid v1.6.0 From a1323e83395545482e8fa136872e727559ec5010 Mon Sep 17 00:00:00 2001 From: DJ Stomp <85457381+DJStompZone@users.noreply.github.com> Date: Wed, 18 Jun 2025 04:08:18 -0500 Subject: [PATCH 2/2] Minor clarifications in readme --- README.md | 7 +++++-- go.mod | 4 +++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b3ad790..0d75c5e 100644 --- a/README.md +++ b/README.md @@ -37,16 +37,19 @@ docker run -it --rm \ -v ${PWD}:/build \ -w /build \ -p 2222:2222 \ - golang:1.19 + golang:1.23 ``` Within that container, build/test by running: ```bash +go mod tidy go run . test/dump.sh go run . test/bash-only.sh + # Used to test remote console functionality -# Connect to this using an ssh client from outside the container to ensure two-way communication works +# Connect to this using an ssh client from outside the container to +# ensure two-way communication works (Default password: "minecraft") go run . -remote-console /usr/bin/sh # The following should fail go run . --shell sh test/bash-only.sh diff --git a/go.mod b/go.mod index 51f0a3f..ea7d966 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,8 @@ module github.com/itzg/mc-server-runner -go 1.23 +go 1.23.0 + +toolchain go1.23.10 require ( github.com/google/uuid v1.6.0