1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-24 13:25:21 +02:00

Add dev stage to docker image (#13573)

This commit is contained in:
JosiahWI
2023-07-30 09:29:25 -05:00
committed by GitHub
parent e0948f42ab
commit 28fce8aad5
3 changed files with 31 additions and 1 deletions

View File

@@ -1,5 +1,5 @@
ARG DOCKER_IMAGE=alpine:3.16
FROM $DOCKER_IMAGE AS builder
FROM $DOCKER_IMAGE AS dev
ENV MINETEST_GAME_VERSION master
ENV IRRLICHT_VERSION master
@@ -35,6 +35,8 @@ RUN git clone --recursive https://github.com/jupp0r/prometheus-cpp/ && \
git clone --depth=1 https://github.com/minetest/irrlicht/ -b ${IRRLICHT_VERSION} && \
cp -r irrlicht/include /usr/include/irrlichtmt
FROM dev as builder
COPY .git /usr/src/minetest/.git
COPY CMakeLists.txt /usr/src/minetest/CMakeLists.txt
COPY README.md /usr/src/minetest/README.md