From d47b819e1dc03b2a66707bed01de819879100cfe Mon Sep 17 00:00:00 2001 From: William Petit Date: Tue, 27 Feb 2024 17:14:25 +0100 Subject: [PATCH] feat(docker): use go 1.21 --- misc/docker/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/misc/docker/Dockerfile b/misc/docker/Dockerfile index 76e0918..cb10b7f 100644 --- a/misc/docker/Dockerfile +++ b/misc/docker/Dockerfile @@ -1,11 +1,11 @@ -FROM reg.cadoles.com/dh/library/golang:1.17 AS build +FROM reg.cadoles.com/proxy_cache/library/golang:1.21 AS build ARG HTTP_PROXY= ARG HTTPS_PROXY= ARG http_proxy= ARG https_proxy= -RUN apt-get update && apt-get install -y build-essential git bash curl npm python2 +RUN apt-get update && apt-get install -y build-essential git bash curl RUN curl -sL https://deb.nodesource.com/setup_20.x | bash - \ && apt-get install -y nodejs @@ -18,7 +18,7 @@ RUN cp -f misc/docker/config-patch.txt misc/release/config-patch.txt \ && npm ci \ && make ARCH_TARGETS=amd64 release -FROM busybox +FROM reg.cadoles.com/proxy_cache/library/busybox RUN adduser -D -h /app fsmtp