From ae73f063cc5acec4b33bffb33d7f4e47d0f72a7a Mon Sep 17 00:00:00 2001 From: Erik Brakkee Date: Tue, 12 Nov 2024 20:07:26 +0100 Subject: [PATCH] imagepullpolicy always for the go image. --- images/compose.yaml | 2 +- images/{go.1.23.2 => go-1-23-2}/Dockerfile | 2 +- resources/podtemplates/go-1-23-2.yaml | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) rename images/{go.1.23.2 => go-1-23-2}/Dockerfile (87%) diff --git a/images/compose.yaml b/images/compose.yaml index 552208e..1dab6b8 100644 --- a/images/compose.yaml +++ b/images/compose.yaml @@ -4,5 +4,5 @@ services: gobuilder: image: cat.wamblee.org/gobuilder:1.23.2 build: - context: go.1.23.2 + context: go-1-23-2 diff --git a/images/go.1.23.2/Dockerfile b/images/go-1-23-2/Dockerfile similarity index 87% rename from images/go.1.23.2/Dockerfile rename to images/go-1-23-2/Dockerfile index aec77eb..c1a6e97 100644 --- a/images/go.1.23.2/Dockerfile +++ b/images/go-1-23-2/Dockerfile @@ -1,6 +1,6 @@ FROM golang:1.23.3-alpine3.20 -RUN apk update && apk add curl make bash docker +RUN apk update && apk add curl make bash docker openssl inetutils-telnet # if templ cannot be obtained: quick fix, remove this statement and run make, then build the image. RUN curl -L https://github.com/a-h/templ/releases/download/v0.2.747/templ_Linux_x86_64.tar.gz -o templ.tar.gz && \ diff --git a/resources/podtemplates/go-1-23-2.yaml b/resources/podtemplates/go-1-23-2.yaml index 1180a23..ba45fb7 100644 --- a/resources/podtemplates/go-1-23-2.yaml +++ b/resources/podtemplates/go-1-23-2.yaml @@ -3,6 +3,7 @@ kind: Pod spec: containers: - image: cat.wamblee.org/gobuilder:1.23.2 + imagePullPolicy: Always name: go-1-23-2 volumeMounts: - name: run -- 2.31.1