summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorBuckaroo Banzai <39065740+BuckarooBanzay@users.noreply.github.com>2020-09-26 15:32:49 +0200
committerGitHub <noreply@github.com>2020-09-26 15:32:49 +0200
commit9eb4516cbc6a5a790dcb77178e1f1408ec0b06d0 (patch)
tree2ce799f0c22e9c94ae6a7c23cc4b6735f3f96c27 /Dockerfile
parent09af0c5946c7082fc82563faf0ad9ef144fb9a06 (diff)
downloadminetest-9eb4516cbc6a5a790dcb77178e1f1408ec0b06d0.tar.gz
minetest-9eb4516cbc6a5a790dcb77178e1f1408ec0b06d0.tar.bz2
minetest-9eb4516cbc6a5a790dcb77178e1f1408ec0b06d0.zip
Enable LuaJIT on the Docker image (#10414)
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index 72343ab9c..871ca9825 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -21,7 +21,7 @@ WORKDIR /usr/src/minetest
RUN apk add --no-cache git build-base irrlicht-dev cmake bzip2-dev libpng-dev \
jpeg-dev libxxf86vm-dev mesa-dev sqlite-dev libogg-dev \
libvorbis-dev openal-soft-dev curl-dev freetype-dev zlib-dev \
- gmp-dev jsoncpp-dev postgresql-dev ca-certificates && \
+ gmp-dev jsoncpp-dev postgresql-dev luajit-dev ca-certificates && \
git clone --depth=1 -b ${MINETEST_GAME_VERSION} https://github.com/minetest/minetest_game.git ./games/minetest_game && \
rm -fr ./games/minetest_game/.git
@@ -51,7 +51,7 @@ RUN mkdir build && \
FROM alpine:3.11
-RUN apk add --no-cache sqlite-libs curl gmp libstdc++ libgcc libpq && \
+RUN apk add --no-cache sqlite-libs curl gmp libstdc++ libgcc libpq luajit && \
adduser -D minetest --uid 30000 -h /var/lib/minetest && \
chown -R minetest:minetest /var/lib/minetest