451c550b19
* Simplify creating an AppImage - package.sh packages the build result into an AppImage. It requires squashfs-tools to work - runtime-x86_64 is a binary distributed by the AppImage project that takes care of extracting and running the image * use AppRun from AppImage project * clean up no longer needed bits * Keep docker way of working around - Docker now also uses `package.sh`, so no more need for FUSE. - Fetch binaries instead of storing in git. * Fix details * wait a little longer for the container to start
17 lines
482 B
Bash
Executable File
17 lines
482 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Set the TAG environment variable to build a specific tag
|
|
# Set the REPO environment variable to point at a different git repository
|
|
|
|
# Make sure we're in the same directory as this script
|
|
pushd $(dirname "$(realpath "$0")")
|
|
|
|
BUILDARG=""
|
|
SUFFIX=""
|
|
[ -n "${TAG}" ] && BUILDARG="${BUILDARG} --build-arg=TAG=${TAG}" && SUFFIX=":${TAG}"
|
|
[ -n "${REPO}" ] && BUILDARG="${BUILDARG} --build-arg=REPO=${REPO}"
|
|
|
|
docker build ${BUILDARG} -t imhex-appimage-build${SUFFIX} .
|
|
|
|
popd
|