-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
226 additions
and
206 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,16 @@ | ||
TAG ?=v$(shell date +%m%d%Y)-$(shell git rev-parse --short HEAD) | ||
REGISTRY ?= quay.io/kubernetes-ingress-controller | ||
DOCKER ?= docker | ||
|
||
IMAGE = $(REGISTRY)/e2e-prow | ||
|
||
all: docker-build docker-push | ||
|
||
docker-build: | ||
.PHONY: image | ||
image: | ||
$(DOCKER) buildx build \ | ||
--pull \ | ||
--load \ | ||
--push \ | ||
--platform amd64 \ | ||
--build-arg K8S_RELEASE=v1.17.0 \ | ||
--build-arg ETCD_VERSION=v3.3.18 \ | ||
--build-arg KIND_VERSION=v0.8.0 \ | ||
--build-arg GO_VERSION=1.14.2 \ | ||
-t $(IMAGE):$(TAG) . | ||
|
||
docker-push: | ||
$(DOCKER) push $(IMAGE):$(TAG) | ||
$(DOCKER) tag $(IMAGE):$(TAG) $(IMAGE):latest | ||
$(DOCKER) push $(IMAGE):latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,14 @@ | ||
FROM openresty/openresty:1.15.8.2-alpine | ||
FROM quay.io/kubernetes-ingress-controller/nginx:e3c49c52f4b74fe47ad65d6f3266a02e8b6b622f | ||
|
||
RUN apk add -U perl curl \ | ||
&& opm get bungle/lua-resty-template | ||
RUN apk add -U perl curl make unzip | ||
|
||
COPY nginx.conf /usr/local/openresty/nginx/conf/nginx.conf | ||
RUN wget -O /tmp/luarocks.tgz https://github.com/luarocks/luarocks/archive/v3.3.1.tar.gz \ | ||
&& tar -C /tmp -xzf /tmp/luarocks.tgz \ | ||
&& cd /tmp/luarocks* \ | ||
&& ./configure \ | ||
&& make install \ | ||
&& rm -rf /tmp/* | ||
|
||
RUN luarocks install lua-resty-template | ||
|
||
COPY nginx.conf /etc/nginx/nginx.conf |
Oops, something went wrong.