enough-football-92033
04/24/2023, 11:58 AMDOCKER_BUILDKIT=1 docker build --file ./docker/datahub-ingestion/Dockerfile --platform=linux/amd64 --rm --tag datahub-ingestion:latest .
but the build is stuck in the same step each time:
(venv) pavelborshchenko@MacBook-Pro-8 scribd-datahub (v0.10.2) $ DOCKER_BUILDKIT=1 docker build --file ./docker/datahub-ingestion/Dockerfile --platform=linux/amd64 --rm --tag datahub-ingestion:latest .
[+] Building 591.7s (9/16)
...
=> [prod-build 4/4] RUN (for attempt in 1 2 3 4 5; do ./gradlew --version && break ; echo "Failed to download gradle wrapper (attempt $attempt)" && sleep $((2<<$attempt)) ; done ) 563.6s
=> => # at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1520)
=> => # at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:250)
=> => # at org.gradle.wrapper.Download.downloadInternal(Download.java:87)
=> => # ... 7 more
=> => # Failed to download gradle wrapper (attempt 5)
=> => # Downloading https://services.gradle.org/distributions/gradle-6.9.2-bin.zip
I run v0.10.2 version on local mac M1 environment.
How this can be fixed?lively-cat-88289
04/24/2023, 11:58 AMastonishing-answer-96712
05/02/2023, 6:35 PMenough-football-92033
05/03/2023, 11:38 AM