From 454190a8616466c4e30539ceaa03f94f40ff0de9 Mon Sep 17 00:00:00 2001 From: Javier Marcos <1271349+javuto@users.noreply.github.com> Date: Wed, 18 Sep 2024 14:04:02 +0200 Subject: [PATCH] Get rid of warning when building docker dev environment --- deploy/docker/dockerfiles/Dockerfile-dev-admin | 2 +- deploy/docker/dockerfiles/Dockerfile-dev-api | 2 +- deploy/docker/dockerfiles/Dockerfile-dev-cli | 2 +- deploy/docker/dockerfiles/Dockerfile-dev-tls | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/deploy/docker/dockerfiles/Dockerfile-dev-admin b/deploy/docker/dockerfiles/Dockerfile-dev-admin index bcba8300..152dd189 100644 --- a/deploy/docker/dockerfiles/Dockerfile-dev-admin +++ b/deploy/docker/dockerfiles/Dockerfile-dev-admin @@ -1,5 +1,5 @@ ######################################## osctrl-dev-base ######################################## -ARG GOLANG_VERSION +ARG GOLANG_VERSION=${GOLANG_VERSION:-1.23.0-bookworm} FROM golang:${GOLANG_VERSION} AS osctrl-admin-dev WORKDIR /usr/src/app diff --git a/deploy/docker/dockerfiles/Dockerfile-dev-api b/deploy/docker/dockerfiles/Dockerfile-dev-api index bf1eb814..2be3f0e0 100644 --- a/deploy/docker/dockerfiles/Dockerfile-dev-api +++ b/deploy/docker/dockerfiles/Dockerfile-dev-api @@ -1,4 +1,4 @@ -ARG GOLANG_VERSION +ARG GOLANG_VERSION=${GOLANG_VERSION:-1.23.0-bookworm} FROM golang:${GOLANG_VERSION} AS osctrl-api-dev WORKDIR /usr/src/app diff --git a/deploy/docker/dockerfiles/Dockerfile-dev-cli b/deploy/docker/dockerfiles/Dockerfile-dev-cli index 406a1346..eee530e3 100644 --- a/deploy/docker/dockerfiles/Dockerfile-dev-cli +++ b/deploy/docker/dockerfiles/Dockerfile-dev-cli @@ -1,5 +1,5 @@ #################################################### osctrl-cli-dev #################################################### -ARG GOLANG_VERSION +ARG GOLANG_VERSION=${GOLANG_VERSION:-1.23.0-bookworm} FROM golang:${GOLANG_VERSION} AS osctrl-cli-dev WORKDIR /usr/src/app diff --git a/deploy/docker/dockerfiles/Dockerfile-dev-tls b/deploy/docker/dockerfiles/Dockerfile-dev-tls index dc99a020..23b0f915 100644 --- a/deploy/docker/dockerfiles/Dockerfile-dev-tls +++ b/deploy/docker/dockerfiles/Dockerfile-dev-tls @@ -1,4 +1,4 @@ -ARG GOLANG_VERSION +ARG GOLANG_VERSION=${GOLANG_VERSION:-1.23.0-bookworm} FROM golang:${GOLANG_VERSION} AS osctrl-tls-dev WORKDIR /usr/src/app