-
Notifications
You must be signed in to change notification settings - Fork 4
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
dc36574
commit 371db1c
Showing
1 changed file
with
2 additions
and
2 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,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 |