Skip to content

Commit

Permalink
Magic new dependency on git for lua-jsonschema's image.
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian committed Dec 22, 2024
1 parent c072fba commit 523760f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions implementations/lua-jsonschema/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM alpine:3.21
RUN apk add --no-cache luajit luajit-dev pcre-dev gcc libc-dev curl make cmake && \
RUN apk add --no-cache luajit luajit-dev pcre-dev gcc libc-dev curl git make cmake && \
wget 'https://luarocks.org/releases/luarocks-3.9.2.tar.gz' && \
tar -xf luarocks-3.9.2.tar.gz && rm luarocks-3.9.2.tar.gz && \
cd luarocks-3.9.2 && ./configure && make && make install && \
cd .. && rm -r luarocks-3.9.2 && \
sed -i '/WGET/d' /usr/local/share/lua/5.1/luarocks/fs/tools.lua && \
luarocks install jsonschema && \
apk del luajit-dev gcc libc-dev curl make cmake
apk del luajit-dev gcc git libc-dev curl make cmake
WORKDIR /usr/src/myapp
COPY json.lua bowtie_jsonschema.lua .
CMD ["luajit", "bowtie_jsonschema.lua"]

0 comments on commit 523760f

Please sign in to comment.