-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
aab12f2
commit b09b5d4
Showing
4 changed files
with
36 additions
and
57 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,23 @@ | ||
FROM kong/kong:3.0.0 | ||
|
||
ENV OIDC_PLUGIN_VERSION=1.2.3-2 | ||
LABEL description="Kong 3.0.0 + kong-oidc plugin" | ||
ENV OIDC_PLUGIN_VERSION=1.1.0-0 | ||
ENV JWT_PLUGIN_VERSION=1.1.0-1 | ||
ENV GIT_VERSION=2.24.4-r0 | ||
ENV UNZIP_VERSION=6.0-r7 | ||
ENV LUAROCKS_VERSION=2.4.4-r1 | ||
|
||
|
||
USER root | ||
RUN apk update && apk add git=${GIT_VERSION} unzip=${UNZIP_VERSION} luarocks=${LUAROCKS_VERSION} | ||
RUN apk update && apk add git unzip luarocks | ||
RUN luarocks install kong-oidc | ||
|
||
RUN git clone --branch v1.2.3-2 https://github.com/revomatico/kong-oidc.git | ||
WORKDIR /kong-oidc | ||
RUN luarocks make | ||
RUN git clone https://github.com/PSheshenya/kong-oidc.git \ | ||
&& cd kong-oidc \ | ||
&& luarocks make | ||
|
||
RUN luarocks pack kong-oidc ${OIDC_PLUGIN_VERSION} \ | ||
&& luarocks install kong-oidc-${OIDC_PLUGIN_VERSION}.all.rock | ||
|
||
WORKDIR / | ||
RUN git clone --branch 20200505-access-token-processing https://github.com/BGaunitz/kong-plugin-jwt-keycloak.git | ||
WORKDIR /kong-plugin-jwt-keycloak | ||
RUN luarocks make | ||
RUN git clone --branch 20200505-access-token-processing https://github.com/BGaunitz/kong-plugin-jwt-keycloak.git \ | ||
&& cd kong-plugin-jwt-keycloak \ | ||
&& luarocks make | ||
|
||
RUN luarocks pack kong-plugin-jwt-keycloak ${JWT_PLUGIN_VERSION} \ | ||
&& luarocks install kong-plugin-jwt-keycloak-${JWT_PLUGIN_VERSION}.all.rock | ||
|
||
USER kong |
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