-
Notifications
You must be signed in to change notification settings - Fork 25
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
9c5a19d
commit 84059ba
Showing
3 changed files
with
31 additions
and
8 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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
FROM kong/kong-gateway:3.7 | ||
# Ensure any patching steps are executed as root user | ||
USER root | ||
|
||
# Add custom plugin to the image | ||
COPY ./kong/plugins/readme-plugin /usr/local/share/lua/5.1/kong/plugins/readme-plugin | ||
ENV KONG_PLUGINS=bundled,readme-plugin | ||
|
||
# Ensure kong user is selected for image execution | ||
USER kong | ||
|
||
# Run kong | ||
ENTRYPOINT ["/entrypoint.sh"] | ||
EXPOSE 8000 8443 8001 8444 | ||
STOPSIGNAL SIGQUIT | ||
HEALTHCHECK --interval=10s --timeout=10s --retries=10 CMD kong health | ||
CMD ["kong", "docker-start"] |
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