Replies: 6 comments
-
Can you share the Dockerfile you're attempting to build from? Here's the Dockerfile I use to ship a lite container, note it's a multistage build; you can likely ignore the |
Beta Was this translation helpful? Give feedback.
-
Thanks, Rob. This is my docker file.
I tried using both amd64 and arm64 as the target arch. Linux is the platform. Thanks for sharing the Dockerfile. I will try to see if it helps. |
Beta Was this translation helpful? Give feedback.
-
Here's another Dockerfile that works if that's useful to you |
Beta Was this translation helpful? Give feedback.
-
Thanks @derekperkins I will try that. I have changed the alpine build to the debian base image and it is working now. |
Beta Was this translation helpful? Give feedback.
-
If you want a small deployed image, distroless is another good option. I opened an informational issue showing off how we do it #220 |
Beta Was this translation helpful? Give feedback.
-
Sample docker file
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I am getting the following error in the docker build when trying to build from the Mac m3. Please help resolving this
Build command
go build -tags musl,dynamic,no_duckdb_arrow
Environment
Beta Was this translation helpful? Give feedback.
All reactions