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, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7cd40baf..20d79eda 100644
--- a/Makefile
+++ b/Makefile
@@ -29,6 +29,18 @@ run:
 lint:
 	@./.ci/format.sh
 
+image:
+	docker build -t nheko-app-image .
+
+docker-app-image: image
+	docker run \
+		-e CXX=g++-7 \
+		-e CC=gcc-7 \
+		-v `pwd`:/build nheko-app-image make release
+	docker run \
+		--privileged \
+		-v `pwd`:/build nheko-app-image make linux-appimage
+
 clean:
 	rm -rf build