This repository has been archived by the owner on Oct 12, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from gbbirkisson/auto_key
Auto key
- Loading branch information
Showing
3 changed files
with
16 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
.idea | ||
|
||
*.rock | ||
# Byte-compiled / optimized / DLL files | ||
__pycache__/ | ||
*.py[cod] | ||
|
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,4 +1,16 @@ | ||
FROM kong:1.0 as packer | ||
|
||
ENV LUAROCKS_MODULE=kong-plugin-jwt-keycloak | ||
|
||
RUN apk add --no-cache git zip && \ | ||
git config --global url.https://github.com/.insteadOf git://github.com/ && \ | ||
luarocks install ${LUAROCKS_MODULE} && \ | ||
luarocks pack ${LUAROCKS_MODULE} | ||
|
||
FROM kong:1.0 | ||
|
||
RUN luarocks install kong-plugin-jwt-keycloak | ||
ENV KONG_PLUGINS="bundled,jwt-keycloak" | ||
ENV KONG_PLUGINS="bundled,jwt-keycloak" | ||
|
||
COPY --from=packer kong-plugin-jwt-keycloak* /tmp/ | ||
RUN luarocks install /tmp/kong-plugin-jwt-keycloak* &&\ | ||
rm /tmp/* |