You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Environment
Development environment/ Apple Silicon M1 Pro
Describe whether you are using Chatwoot Cloud (app.chatwoot.com) or a self-hosted installation of Chatwoot. If you are using a self-hosted installation of Chatwoot, describe the type of deployment (Docker/Linux VM installation/Heroku/Kubernetes/Other).
Docker
Desktop (please complete the following information) (If applicable)
OS: MacOS
Browser: n/a
Version: macOS Monterey 12.2.1
Smartphone (please complete the following information) (If applicable)
Docker (If applicable)
Please share the output of the following.
Cloud Provider (If applicable)
AWS
GCP
Azure
DigitalOcean
Others
Additional context
I want to build chatwoot image, push to my docker repository, and deploy to k8s via helm.
Using this command docker build -f docker/Dockerfile . -t xxx builds successfully, but when deploying to k8s I get an error: standard_init_linux.go:178: exec user process caused "exec format error".
Referring to this link https://stackoverflow.com/questions/42494853/standard-init-linux-go178-exec-user-process-caused-exec-format-error I got the solution: --platform=linux /amd64 . But I'm having current issues building the image
The text was updated successfully, but these errors were encountered:
Are you deploying on a k8s cluster having arm64 nodes?
No. k8s supports linux/amd64
To fix this, I successfully built and deployed to k8s using a mac with an Intel chip,
To summarize the problem: Unable to build an image of chatwood platform=linux/amd64 on mac m1 pro machine,
If you think it's okay, we can close this issue.
Describe the bug
docker buildx build --platform=linux/amd64 -f docker/Dockerfile .
fails on apple silicon m1 pro (darwin arm64)To Reproduce
Steps to reproduce the behavior:
git clone https://github.com/chatwoot/chatwoot.git
docker buildx build --platform=linux/amd64 -f docker/Dockerfile . -t xxx
Expected behavior
build FINISHED
Screenshots
n/a
Browser logs
n/a
Server logs
log.txt
Environment
Development environment/ Apple Silicon M1 Pro
Describe whether you are using Chatwoot Cloud (app.chatwoot.com) or a self-hosted installation of Chatwoot. If you are using a self-hosted installation of Chatwoot, describe the type of deployment (Docker/Linux VM installation/Heroku/Kubernetes/Other).
Docker
Desktop (please complete the following information) (If applicable)
Smartphone (please complete the following information) (If applicable)
Docker (If applicable)
Please share the output of the following.
Cloud Provider (If applicable)
Additional context
I want to build chatwoot image, push to my docker repository, and deploy to k8s via helm.
Using this command
docker build -f docker/Dockerfile . -t xxx
builds successfully, but when deploying to k8s I get an error:standard_init_linux.go:178: exec user process caused "exec format error"
.Referring to this link
https://stackoverflow.com/questions/42494853/standard-init-linux-go178-exec-user-process-caused-exec-format-error
I got the solution:--platform=linux /amd64
. But I'm having current issues building the imageThe text was updated successfully, but these errors were encountered: