Closed chrisammon3000 closed 1 year ago
The build script was using ≤ when it should have been using <:
≤
<
echo "Downloading DAT file for release $release..." if [ "$(echo "$release" | bc -l)" -le 3350 ]; then
This was causing the script to access the wrong download URL for the DAT for that version resulting in no data.
Fix:
echo "Downloading DAT file for release $release..." if [ "$(echo "$release" | bc -l)" -lt 3350 ]; then
In addition to the error fix, the deployment platform is specified when building the Docker image to avoid issues when working on M1/M2 Macs:
docker build \ -t "$${BUILD_REPOSITORY}" \ --platform "linux/amd64" \ # M1/M2 Macs use "linux/arm64" but AWS Batch is not currently build/ && \
Description
The build script was using
≤
when it should have been using<
:This was causing the script to access the wrong download URL for the DAT for that version resulting in no data.
Fix:
Notes
In addition to the error fix, the deployment platform is specified when building the Docker image to avoid issues when working on M1/M2 Macs: