diff options
author | Loic Blot <loic.blot@unix-experience.fr> | 2021-04-02 12:25:52 +0200 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2021-04-02 14:40:22 +0200 |
commit | 5de849713eb30c88c6d37b2fe9faa7ed65ce51f2 (patch) | |
tree | e7c4199371258125252b0391dcfb113bcecf6e35 /Dockerfile | |
parent | 78da79b60f65d7a236b8589a508e41aba834649b (diff) | |
download | minetest-5de849713eb30c88c6d37b2fe9faa7ed65ce51f2.tar.gz minetest-5de849713eb30c88c6d37b2fe9faa7ed65ce51f2.tar.bz2 minetest-5de849713eb30c88c6d37b2fe9faa7ed65ce51f2.zip |
fix(docker): reduce the number of required libraries on build
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/Dockerfile b/Dockerfile index e9a008bbf..7cb6bec84 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,9 +19,7 @@ COPY textures /usr/src/minetest/textures WORKDIR /usr/src/minetest -RUN apk add --no-cache git build-base 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 \ +RUN apk add --no-cache git build-base cmake sqlite-dev curl-dev zlib-dev \ 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 @@ -38,12 +36,7 @@ RUN git clone --recursive https://github.com/jupp0r/prometheus-cpp/ && \ make install RUN git clone --depth=1 https://github.com/minetest/irrlicht/ -b ${IRRLICHT_VERSION} && \ - mkdir irrlicht/build && \ - cd irrlicht/build && \ - cmake .. \ - -DCMAKE_BUILD_TYPE=Release && \ - make -j2 && \ - make install + cp -r irrlicht/include /usr/include/irrlichtmt WORKDIR /usr/src/minetest RUN mkdir build && \ |