build(docker): build from behind a proxy (#6201)

* feat: Docker build from behind a proxy

* fix(docker): do not persist build-time proxy settings
This commit is contained in:
Dmitry Ledentsov 2024-03-06 13:50:14 +01:00 committed by GitHub
parent 265e32bfa9
commit 7d715f066f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,6 +7,11 @@
FROM node:alpine as build FROM node:alpine as build
LABEL maintainer="Etherpad team, https://github.com/ether/etherpad-lite" 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= ARG TIMEZONE=
RUN \ RUN \