From f0fd76ceebbae9b148c90cb1683e6156b52b7a35 Mon Sep 17 00:00:00 2001 From: Dmitry Ledentsov Date: Mon, 4 Mar 2024 09:43:22 +0100 Subject: [PATCH] feat: Docker build from behind a proxy --- Dockerfile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Dockerfile b/Dockerfile index a39ce882e..007487c22 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,6 +7,15 @@ FROM node:alpine as build LABEL maintainer="Etherpad team, https://github.com/ether/etherpad-lite" +# Set these arguments when building the image from behind a proxy +ARG http_proxy= +ARG https_proxy= +ARG no_proxy= + +ENV http_proxy=${http_proxy} +ENV https_proxy=${https_proxy} +ENV no_proxy=${no_proxy} + ARG TIMEZONE= RUN \