ADD file:aa1af71c6b66d2dddee4797236e3e526f70f904ab641cc0dd6b41445cfedf9b4 in / |
CMD ["/bin/sh"] |
LABEL maintainer=Andriy Kornatskyy <andriy.kornatskyy@live.com> |
ENV LUA_VERSION=5.4.6 |
RUN /bin/sh -c set -ex && apk -U upgrade && apk add --no-cache readline && apk add --no-cache --virtual .build-deps ca-certificates openssl make gcc libc-dev readline-dev ncurses-dev && wget --no-check-certificate -c https://www.lua.org/ftp/lua-${LUA_VERSION}.tar.gz -O lua.tar.gz && echo "83f41abf92620dd15f022e6f863807b07e318495 lua.tar.gz" | sha1sum -c -s - && tar xzf lua.tar.gz && cd lua-${LUA_VERSION} && make -j"$(nproc)" linux && make install && cd .. && rm -rf lua.tar.gz lua-${LUA_VERSION} && apk del .build-deps # buildkit |
CMD ["lua"] |
LABEL maintainer=Andriy Kornatskyy <andriy.kornatskyy@live.com> |
ENV LUAROCKS_VERSION=3.9.2 |
RUN /bin/sh -c set -ex && apk add --no-cache ca-certificates openssl wget && apk add --no-cache --virtual .build-deps make gcc libc-dev && wget https://luarocks.github.io/luarocks/releases/luarocks-${LUAROCKS_VERSION}.tar.gz -O - | tar -xzf - && cd luarocks-${LUAROCKS_VERSION} && ./configure --with-lua=/usr/local && make build && make install && cd .. && rm -rf luarocks-${LUAROCKS_VERSION} && apk del .build-deps # buildkit |
CMD ["luarocks"] |
ARG CYAN_VERSION=0.3.0 |
RUN |1 CYAN_VERSION=0.3.0 /bin/sh -c apk add git gcc libc-dev openssl-dev just && luarocks install --server=https://luarocks.org/dev busted-tl # buildkit |