This PR adds the --location flag to the curl command used in var/geoipupdate.sh.
๐ญ Motivation and context
Resolves #96.
Without this, the request to fetch the GeoIP database fails because curl does not follow the redirect specified by the HTTP 302 response.
๐งช Testing
I confirmed that without this change, generate_cyhy_docker_image.sh fails with the error shown in #96. After this change, the script runs successfully and a cyhy-core Docker image is created.
โ Pre-approval checklist
[x] This PR has an informative and human-readable title.
[x] Changes are limited to a single goal - eschew scope creep!
[x] All relevant type-of-change labels have been added.
๐ฃ Description
This PR adds the
--location
flag to thecurl
command used invar/geoipupdate.sh
.๐ญ Motivation and context
Resolves #96.
Without this, the request to fetch the GeoIP database fails because
curl
does not follow the redirect specified by the HTTP 302 response.๐งช Testing
I confirmed that without this change,
generate_cyhy_docker_image.sh
fails with the error shown in #96. After this change, the script runs successfully and acyhy-core
Docker image is created.โ Pre-approval checklist