Remove preventing of messing with global, as system modules mess with global
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
FROM nickblah/lua:5.4-luarocks-alpine AS build
|
||||
RUN apk add --no-cache build-base rust cargo lua5.4-dev pkgconfig openssl-dev m4 bsd-compat-headers
|
||||
# Install lua modules here.
|
||||
RUN luarocks install luasec
|
||||
RUN luarocks install luasocket
|
||||
RUN luarocks install luasec
|
||||
RUN luarocks install lua-cjson
|
||||
RUN luarocks install base64
|
||||
RUN luarocks install inspect
|
||||
@@ -17,7 +17,7 @@ RUN cargo build --release
|
||||
# Deploy stage
|
||||
FROM alpine
|
||||
WORKDIR /app
|
||||
RUN apk update && apk add --no-cache ca-certificates openssl libgcc lua5.4-libs
|
||||
RUN apk update && apk add --no-cache ca-certificates openssl libgcc lua5.4-libs readline
|
||||
|
||||
COPY --from=build /usr/local/bin/lua /usr/local/bin/lua
|
||||
COPY --from=build /usr/local/bin/luarocks /usr/local/bin/luarocks
|
||||
|
||||
Reference in New Issue
Block a user