fix(docker): image now builds #3
|
@ -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
|
||||||
wpetit marked this conversation as resolved
Outdated
|
|||||||
|
|
||||||
ARG HTTP_PROXY=
|
ARG HTTP_PROXY=
|
||||||
ARG HTTPS_PROXY=
|
ARG HTTPS_PROXY=
|
||||||
ARG http_proxy=
|
ARG http_proxy=
|
||||||
ARG https_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 - \
|
RUN curl -sL https://deb.nodesource.com/setup_20.x | bash - \
|
||||||
&& apt-get install -y nodejs
|
&& apt-get install -y nodejs
|
||||||
|
@ -18,7 +18,7 @@ RUN cp -f misc/docker/config-patch.txt misc/release/config-patch.txt \
|
||||||
&& npm ci \
|
&& npm ci \
|
||||||
&& make ARCH_TARGETS=amd64 release
|
&& make ARCH_TARGETS=amd64 release
|
||||||
|
|
||||||
FROM busybox
|
FROM reg.cadoles.com/proxy_cache/library/busybox
|
||||||
|
|
||||||
RUN adduser -D -h /app fsmtp
|
RUN adduser -D -h /app fsmtp
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Quel est le problème de construction avec les versions de Go > 1.17 ? 🤔 Ça me parait bizarre vu la rétrocompatibilité assurée entre les versions. Un soucis avec une dépendance ?
Et pour ma gouverne, quel est ce nouveau repository
reg.cadoles.com/dh
?reg.cadoles.com/proxy_cache
n'existe plus ?