trim Dockerfile now that upstream luarocks is fixed and alpine upgraded luarocks
This commit is contained in:
parent
973274fed3
commit
71f795bae5
21
Dockerfile
21
Dockerfile
@ -10,22 +10,11 @@ RUN apk add --no-cache git make gcc g++ musl-dev libffi-dev openssl-dev sqlite-d
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN eval "$(luarocks --lua-version=5.1 path)"
|
RUN eval "$(luarocks --lua-version=5.1 path)"
|
||||||
# listing all deps one by one until a more stable solution to the luarocks problem
|
# if using openresty images, make sure the image version is >= 1.25.3.2-5 or >= 1.27.1.2-2
|
||||||
RUN luarocks --lua-version=5.1 install https://luarocks.org/manifests/javierguerragiraldez/lsqlite3-0.9.6-1.rockspec
|
# see https://github.com/openresty/docker-openresty/issues/276#issuecomment-2950726213
|
||||||
RUN luarocks --lua-version=5.1 install https://luarocks.org/manifests/kikito/ansicolors-1.0.2-3.rockspec
|
# otherwise, make sure your image uses luarocks >= 3.12.0
|
||||||
RUN luarocks --lua-version=5.1 install https://luarocks.org/manifests/argparse/argparse-0.7.1-1.rockspec
|
# see https://github.com/luarocks/luarocks/issues/1797
|
||||||
RUN luarocks --lua-version=5.1 install https://luarocks.org/manifests/tieske/date-2.2.1-1.rockspec
|
RUN luarocks --lua-version=5.1 build --only-deps
|
||||||
RUN luarocks --lua-version=5.1 install https://luarocks.org/manifests/leafo/etlua-1.3.0-1.rockspec
|
|
||||||
RUN luarocks --lua-version=5.1 install https://luarocks.org/manifests/leafo/loadkit-1.1.0-1.rockspec
|
|
||||||
RUN luarocks --lua-version=5.1 install https://luarocks.org/manifests/gvvaughan/lpeg-1.1.0-2.rockspec
|
|
||||||
RUN luarocks --lua-version=5.1 install https://luarocks.org/manifests/openresty/lua-cjson-2.1.0.10-1.rockspec
|
|
||||||
RUN luarocks --lua-version=5.1 install https://luarocks.org/manifests/daurnimator/luaossl-20220711-0.rockspec
|
|
||||||
RUN luarocks --lua-version=5.1 install https://luarocks.org/manifests/lunarmodules/luasocket-3.1.0-1.rockspec
|
|
||||||
RUN luarocks --lua-version=5.1 install https://luarocks.org/manifests/leafo/pgmoon-1.16.0-1.rockspec
|
|
||||||
RUN luarocks --lua-version=5.1 install https://luarocks.org/manifests/leafo/magick-1.6.0-1.rockspec
|
|
||||||
RUN luarocks --lua-version=5.1 install https://luarocks.org/manifests/jprjr/luasodium-2.4.0-1.rockspec
|
|
||||||
RUN luarocks --lua-version=5.1 install https://luarocks.org/manifests/leafo/lapis-1.16.0-1.rockspec
|
|
||||||
# RUN luarocks --lua-version=5.1 build --only-deps
|
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
RUN chmod +x /app/start.sh
|
RUN chmod +x /app/start.sh
|
||||||
ENTRYPOINT ["/app/start.sh", "production"]
|
ENTRYPOINT ["/app/start.sh", "production"]
|
||||||
|
Loading…
Reference in New Issue
Block a user