diff options
author | LawnCable <lawncable.gitlab@simonlaux.de> | 2019-01-12 02:25:37 +0100 |
---|---|---|
committer | LawnCable <lawncable.gitlab@simonlaux.de> | 2019-01-12 02:25:37 +0100 |
commit | 18b1fb3920de1f58ebff4399a8ae064fa92dbf7b (patch) | |
tree | 834ac663ecd66a075ebc7c1d8e4265eac367ae91 /Dockerfile | |
parent | f5697ef5df709f2325b3954f3abe7c06e30f24d1 (diff) | |
download | appimg-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-- | Dockerfile | 23 |
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 |