feat: Docker build from behind a proxy

This commit is contained in:
Dmitry Ledentsov 2024-03-04 09:43:22 +01:00 committed by GitHub
parent c2c37c58ee
commit f0fd76ceeb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 \