We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 27d9438 commit 5274f4cCopy full SHA for 5274f4c
Makefile
@@ -3,8 +3,12 @@ NAME=$(shell dirname $@)
3
VERSION=$(shell basename $@)
4
TAG=aws/codebuild/$(NAME):$(VERSION)
5
6
+ifdef http_proxy
7
+BLD_OPTS=--build-arg http_proxy=$$http_proxy --build-arg https_proxy=$$https_proxy --build-arg no_proxy=$$no_proxy
8
+endif
9
+
10
all: $(BUILDS)
11
12
$(BUILDS):
13
cd ubuntu/$(NAME)/$(VERSION) && \
- docker build -t $(TAG) .
14
+ docker build $(BLD_OPTS) -t $(TAG) .
0 commit comments