Dockerfile

Mon, 01 Aug 2022 11:29:27 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Mon, 01 Aug 2022 11:29:27 +0100
changeset 0
ed346ec34e2a
permissions
-rw-r--r--

Initial commit

FROM alpine AS build

RUN apk add openssl3-dev zlib-dev lua5.3-dev musl-dev luarocks gcc git \
 && luarocks-5.3 install luaossl \
 && luarocks-5.3 install lua-zlib

FROM alpine

RUN apk add libssl3 libcrypto3 zlib lua5.3 luarocks

COPY --from=build /usr/local/ /usr/local/

ADD fix-ceb-nulls.lua /usr/local/bin/fix-ceb-nulls
RUN chmod 750 /usr/local/bin/fix-ceb-nulls

ENTRYPOINT ["/usr/local/bin/fix-ceb-nulls"]

WORKDIR /data

mercurial