build: Added AppImage builder (#355)

* Docker files to create an AppImage

* Using ENTRYPOINT is a bit nicer here

* typo

* put with other dist files
This commit is contained in:
wardwouts
2021-12-01 21:35:47 +01:00
committed by GitHub
parent 278d46ccd7
commit be1c5f5d1d
7 changed files with 122 additions and 0 deletions

14
dist/AppImage/build.sh vendored Executable file
View File

@@ -0,0 +1,14 @@
#!/bin/bash
# Set the TAG environment variable to build a specific tag
# Make sure we're in the same direcotry as this script
pushd $(dirname "$(realpath "$0")")
if [ -z "$TAG" ]; then
docker build -t imhex-appimage-build .
else
docker build --build-arg=TAG=$TAG -t imhex-appimage-build-$TAG .
fi
popd