bromite-buildtools/images/remote-index/generate.sh

15 lines
388 B
Bash
Raw Normal View History

2022-01-12 13:53:42 +05:30
#!/bin/bash
2023-01-31 12:56:05 +05:30
if [[ -z "${INDEX_VERSION}" ]]; then
echo "Please set INDEX_VERSION env variable"
2022-01-12 13:53:42 +05:30
exit 1
fi
2023-01-31 12:56:05 +05:30
cp /storage/images/android/x64/$INDEX_VERSION/bromite.idx .
2023-01-31 13:00:40 +05:30
cp /storage/images/android/x64/$INDEX_VERSION/RELEASE .
2022-01-12 13:53:42 +05:30
DOCKER_BUILDKIT=1 docker build -t uazo/bromite-remote-index:$INDEX_VERSION \
--progress plain \
--no-cache \
.