Last active
April 14, 2024 14:03
-
-
Save mehuled/5a3dd766dfa9ba4eb53387c93f987930 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
FROM kong/kong:latest | |
# Ensure any patching steps are executed as root user | |
USER root | |
RUN apt-get update | |
RUN apt-get install -y git curl | |
RUN mkdir -p /usr/local/kong/plugins | |
# Add custom plugin to the image | |
COPY kong-plugin-add-header /usr/local/kong/plugins/kong-plugin-add-header | |
ENV KONG_LUA_PACKAGE_PATH=/usr/local/kong/plugins/kong-plugin-add-header/?.lua;; | |
ENV KONG_PLUGINS=bundled,add-header |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment