Skip to content

Commit

Permalink
chore: downgrade kong
Browse files Browse the repository at this point in the history
  • Loading branch information
ztdevelops committed Mar 28, 2024
1 parent dc36574 commit 371db1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/kong-gateway/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM kong:3.3.1-alpine AS builder
FROM kong:3.1.1-alpine AS builder
USER root
RUN apk add --update lua5.4 lua5.4-dev luarocks build-base
RUN luarocks install lua-resty-jwt
RUN luarocks install lua-cjson
RUN luarocks install lua-resty-http
RUN luarocks install lua-resty-cookie

FROM kong:3.3.1-alpine
FROM kong:3.1.1-alpine
COPY --from=builder /usr/local/lib/luarocks/rocks-5.1/ /usr/local/lib/luarocks/rocks-5.1/
COPY --from=builder /usr/local/share/lua/5.1 /usr/local/share/lua/5.1
USER kong

0 comments on commit 371db1c

Please sign in to comment.