Hi all, one more issue when I try build docker ima...
# troubleshoot
e
Hi all, one more issue when I try build docker image for datahub-ingestion:
DOCKER_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:
Copy code
(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?
🔍 1
✅ 1
📖 1
❌ 1
l
Hey there 👋 I'm The DataHub Community Support bot. I'm here to help make sure the community can best support you with your request. Let's double check a few things first: ✅ There's a lot of good information on our docs site: www.datahubproject.io/docs, Have you searched there for a solution? ✅ button ✅ It's not uncommon that someone has run into your exact problem before in the community. Have you searched Slack for similar issues? ✅ button Did you find a solution to your issue? ❌ Sorry you weren't able to find a solution. I'm sending you some tips on info you can provide to help the community troubleshoot. Whenever you feel your issue is solved, please react ✅ to your original message to let us know!
a
Hi, @dazzling-yak-93039 might be able to help you out here
e
This issue was resolved when using correct platform --platform=linux/arm64