summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2017-12-14 01:23:17 +0200
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2017-12-14 01:23:17 +0200
commit76cc3820fc865c3daea49e79e7f854ee786ffc26 (patch)
treea69b2ebcc6750aa4da3d2f2226a5bc1181b5a44f /Makefile
parentRemove -march=native (diff)
downloadnheko-76cc3820fc865c3daea49e79e7f854ee786ffc26.tar.xz
Create appimage with docker
[ci skip]
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