Skip to content

Commit 2b01fe7

Browse files
authored
Dockerfile: allow to override Docker client proxy settings (#239)
1 parent eadf232 commit 2b01fe7

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Dockerfile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
# SPDX-License-Identifier: Apache-2.0
33
# hadolint global ignore=DL3041,DL3040
44

5+
# allow to override Docker client proxies if necessary
6+
ARG http_proxy
7+
ARG https_proxy
8+
ARG no_proxy
59
# Download links can be obtained from:
610
# https://lemcenter.intel.com/productDownload/?Product=256660e5-a404-4390-b436-f64324d94959
711
ARG PUBLIC_SIMICS_PKGS_URL="https://registrationcenter-download.intel.com/akdlm/IRC_NAS/ead79ef5-28b5-48c7-8d1f-3cde7760798f/simics-6-packages-2024-05-linux64.ispm"
@@ -12,6 +16,9 @@ ARG USERNAME=vscode
1216

1317
FROM fedora:42@sha256:0c5ab5380e63cb322552d624d2c78b835f11b526cfd32e1d6f687d0c245f38ce AS create-user
1418
# redeclare ARGs
19+
ARG http_proxy
20+
ARG https_proxy
21+
ARG no_proxy
1522
ARG USER_UID
1623
ARG USERNAME
1724

@@ -37,6 +44,9 @@ EOF
3744

3845
FROM create-user AS tsffs-dev
3946
# redeclare ARGs
47+
ARG http_proxy
48+
ARG https_proxy
49+
ARG no_proxy
4050
ARG PUBLIC_SIMICS_PKGS_URL
4151
ARG PUBLIC_SIMICS_ISPM_URL
4252
ARG PUBLIC_SIMICS_PACKAGE_VERSION_1000

0 commit comments

Comments
 (0)