Skip to content

Commit

Permalink
Specify luarocks version in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
LBPHacker committed Oct 27, 2022
1 parent 49938b8 commit 530eb15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM alpine:latest
RUN apk add --no-cache lua5.3 openssl3 \
&& apk add --no-cache m4 lua5.3-dev musl-dev luarocks git gcc openssl3-dev make sudo bsd-compat-headers \
&& apk add --no-cache m4 lua5.3-dev musl-dev luarocks5.3 git gcc openssl3-dev make sudo bsd-compat-headers \
&& for i in lunajson jnet http luafilesystem; do sudo -H luarocks-5.3 install $i; done \
&& apk del --no-cache m4 lua5.3-dev musl-dev luarocks git gcc openssl3-dev make sudo bsd-compat-headers
&& apk del --no-cache m4 lua5.3-dev musl-dev luarocks5.3 git gcc openssl3-dev make sudo bsd-compat-headers
WORKDIR /tptmp
ADD . .
EXPOSE 34403/tcp, 34406/tcp
Expand Down

0 comments on commit 530eb15

Please sign in to comment.