summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 76299c89..2f688d3b 100644
--- a/Makefile
+++ b/Makefile
@@ -15,6 +15,10 @@ third-party:
 		-DUSE_BUNDLED_BOOST=OFF
 	@cmake --build ${DEPS_BUILD_DIR}
 
+docker-third-party:
+	@cmake -GNinja -H${DEPS_SOURCE_DIR} -B${DEPS_BUILD_DIR} -DCMAKE_BUILD_TYPE=Release
+	@cmake --build ${DEPS_BUILD_DIR}
+
 ci:
 	cmake -H${DEPS_SOURCE_DIR} -B${DEPS_BUILD_DIR} -DCMAKE_BUILD_TYPE=Release
 	cmake --build ${DEPS_BUILD_DIR}
@@ -48,8 +52,12 @@ macos-deploy:
 
 docker-app-image: image
 	docker run \
-		-e CXX=g++-7 \
-		-e CC=gcc-7 \
+		-e CXX=g++-5 \
+		-e CC=gcc-5 \
+		-v `pwd`:/build nheko-app-image make docker-third-party
+	docker run \
+		-e CXX=g++-5 \
+		-e CC=gcc-5 \
 		-v `pwd`:/build nheko-app-image make release
 	docker run \
 		--privileged \