From 7d715f066f23aa6fee3e3c2aef5a0ecaa5f0dba5 Mon Sep 17 00:00:00 2001 From: Dmitry Ledentsov Date: Wed, 6 Mar 2024 13:50:14 +0100 Subject: [PATCH] build(docker): build from behind a proxy (#6201) * feat: Docker build from behind a proxy * fix(docker): do not persist build-time proxy settings --- Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Dockerfile b/Dockerfile index a39ce882e..7cd8105d9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,6 +7,11 @@ 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= + ARG TIMEZONE= RUN \