summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorLawnCable <lawncable.gitlab@simonlaux.de>2019-01-12 02:25:37 +0100
committerLawnCable <lawncable.gitlab@simonlaux.de>2019-01-12 02:25:37 +0100
commit18b1fb3920de1f58ebff4399a8ae064fa92dbf7b (patch)
tree834ac663ecd66a075ebc7c1d8e4265eac367ae91 /Dockerfile
parentf5697ef5df709f2325b3954f3abe7c06e30f24d1 (diff)
downloadappimg-builder-18b1fb3920de1f58ebff4399a8ae064fa92dbf7b.tar.gz
appimg-builder-18b1fb3920de1f58ebff4399a8ae064fa92dbf7b.tar.bz2
appimg-builder-18b1fb3920de1f58ebff4399a8ae064fa92dbf7b.tar.xz
appimg-builder-18b1fb3920de1f58ebff4399a8ae064fa92dbf7b.zip
make it possible to run the thing on local docker, too
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile23
1 files changed, 23 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..e2482c0
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,23 @@
+# Use an official Python runtime as a parent image
+FROM ubuntu:trusty
+
+WORKDIR /app
+
+COPY install_dependencies.sh /app
+
+COPY . /app/local
+
+RUN apt-get update -qq
+
+RUN chmod +x install_dependencies.sh
+
+RUN chmod +x ./local/linuxdeploy-x86_64.AppImage
+
+RUN ./local/linuxdeploy-x86_64.AppImage --appimage-extract
+
+RUN mv squashfs-root ./local/squashfs-root
+
+RUN ./install_dependencies.sh
+
+# optionaly make the local build script executable
+RUN chmod +x /app/local/build.sh