Skip to content
This repository has been archived by the owner on Dec 24, 2023. It is now read-only.

Commit

Permalink
Bumped kong to 1.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristian Chiru committed Feb 21, 2020
1 parent 6808219 commit 72ed167
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM kong:1.4.2-centos
FROM kong:1.5.0-centos

MAINTAINER Cristian Chiru <[email protected]>

Expand All @@ -10,7 +10,7 @@ RUN set -x \
&& yum update -y && yum install -y unzip ${PACKAGES} \
## Install plugins
# Build kong-oidc from forked repo because is not keeping up with lua-resty-openidc
&& curl -s https://raw.githubusercontent.com/jerfer/kong-oidc/master/kong-oidc-${KONG_OIDC_VER}.rockspec | tee kong-oidc-${KONG_OIDC_VER}.rockspec | \
&& curl -s https://raw.githubusercontent.com/Revomatico/kong-oidc/master/kong-oidc-${KONG_OIDC_VER}.rockspec | tee kong-oidc-${KONG_OIDC_VER}.rockspec | \
sed -E -e 's/(tag =)[^,]+/\1 "master"/' -e "s/(lua-resty-openidc ~>)[^\"]+/\1 ${LUA_RESTY_OIDC_VER}/" > kong-oidc-${KONG_OIDC_VER}.rockspec \
&& luarocks build kong-oidc-${KONG_OIDC_VER}.rockspec \
# Patch nginx_kong.lua for kong-oidc session_secret
Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@

## Releases
- Kong v1.4.2: [Dockerfile](https://github.com/Revomatico/docker-kong-oidc/blob/master/Dockerfile)
- Kong v1.5.0: [Dockerfile](https://github.com/Revomatico/docker-kong-oidc/blob/master/Dockerfile)
- Kong v1.4.2: [Dockerfile](https://github.com/Revomatico/docker-kong-oidc/blob/1.4.2-1/Dockerfile)
- Kong v1.4.1: [Dockerfile](https://github.com/Revomatico/docker-kong-oidc/blob/1.4.1-1/Dockerfile)
- Kong v1.4.0: [Dockerfile](https://github.com/Revomatico/docker-kong-oidc/blob/1.4.0-1/Dockerfile)
- Kong v1.3.0: [Dockerfile](https://github.com/Revomatico/docker-kong-oidc/blob/1.3.0-2/Dockerfile)
Expand Down Expand Up @@ -61,6 +62,9 @@


# Release notes
- 2020-02-21 [1.5.0-1]:
- Bumped Kong version to 1.5.0, the last 1.x version
- Using [Revomatico/kong-oidc](https://github.com/Revomatico/kong-oidc) repo
- 2019-11-19 [1.4.2-1]:
- Bumped Kong version to 1.4.2
- Added proxy cache plugin custom dictionary
Expand Down
2 changes: 1 addition & 1 deletion common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

# Common script used by all others to define variables and stay DRY
DOCKER_CONTAINER='docker-kong-oidc'
DOCKER_IMAGE="local/$DOCKER_CONTAINER:1.4.2-1"
DOCKER_IMAGE="local/$DOCKER_CONTAINER:1.5.0-1"

0 comments on commit 72ed167

Please sign in to comment.