bromite-buildtools/images/remote-index/generate.sh
2023-01-31 12:30:40 +05:00

15 lines
388 B
Bash

#!/bin/bash
if [[ -z "${INDEX_VERSION}" ]]; then
echo "Please set INDEX_VERSION env variable"
exit 1
fi
cp /storage/images/android/x64/$INDEX_VERSION/bromite.idx .
cp /storage/images/android/x64/$INDEX_VERSION/RELEASE .
DOCKER_BUILDKIT=1 docker build -t uazo/bromite-remote-index:$INDEX_VERSION \
--progress plain \
--no-cache \
.