From 9da83cd79ebccc1dd0e639e2d42f39f869146e2b Mon Sep 17 00:00:00 2001 From: Elke Kreim <elke.kreim@hs-hannover.de> Date: Tue, 14 Feb 2023 11:07:05 +0100 Subject: [PATCH] Raise goemaxima version to 2023060500 --- goemaxima.service | 2 +- hsh-custom-build.sh | 7 +++++++ hsh-custom-run.sh | 3 +++ 3 files changed, 11 insertions(+), 1 deletion(-) create mode 100755 hsh-custom-build.sh create mode 100644 hsh-custom-run.sh diff --git a/goemaxima.service b/goemaxima.service index 6f4a5bb..3de595a 100644 --- a/goemaxima.service +++ b/goemaxima.service @@ -7,7 +7,7 @@ After=remote-fs.target [Service] Restart=on-failure RestartSec=1s -ExecStart=/usr/bin/docker run --rm --name goemaximapool --env GOEMAXIMA_QUEUE_LEN=16 --publish 0.0.0.0:8080:8080 goemaxima:2020120600-dev +ExecStart=/usr/bin/docker run --rm --name goemaximapool --env GOEMAXIMA_QUEUE_LEN=16 --publish 0.0.0.0:8080:8080 goemaxima:2023060500-dev [Install] WantedBy=multi-user.target diff --git a/hsh-custom-build.sh b/hsh-custom-build.sh new file mode 100755 index 0000000..36db52d --- /dev/null +++ b/hsh-custom-build.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +# We need Go 1.13 for this to compile properly +docker run --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp golang:1.20 bash -c './buildweb.sh' + +# Build container with custom added version 2023060500 +./buildimage.sh 2023060500 diff --git a/hsh-custom-run.sh b/hsh-custom-run.sh new file mode 100644 index 0000000..0da0ce5 --- /dev/null +++ b/hsh-custom-run.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +docker run -d -p 0.0.0.0:80:8080/tcp goemaxima:2023060500-dev -- GitLab