M1対応
mazrean opened this issue · comments
Shunsuke Wakamatsu commented
dockerizeがamd64のものをとってきているので、M1では動かない。
go install https://github.com/jwilder/dockerize@v0.6.1
で各環境にあったビルドをさせるよう書き換えるか、
手元ででDockerfile書き換えてもらうかが必要。
Shunsuke Wakamatsu commented
↑の理由は嘘で、Goのバージョンが古いからqumeでamd64のベースイメージが動いているはずだけど、qumeのバグ踏み抜いて死んでいるっぽさがある.
エラー
2021/05/15 15:41:58 Waiting for: tcp://db:3306
2021/05/15 15:41:58 Connected to tcp://db:3306
fatal: morestack on g0
SIGTRAP: trace trap
PC=0x80a1b22 m=1 sigcode=128
goroutine 0 [idle]:
runtime.abort()
/opt/hostedtoolcache/go/1.14.7/x64/src/runtime/asm_386.s:865 +0x2
runtime.morestack()
/opt/hostedtoolcache/go/1.14.7/x64/src/runtime/asm_386.s:441 +0x24
goroutine 1 [running, locked to thread]:
goroutine running on other thread; stack unavailable
eax 0x17
ebx 0x2
ecx 0x82fe14c
edx 0x17
edi 0x836bfb4
esi 0x88002a0
ebp 0x83b78fc
esp 0x882475c
eip 0x80a1b22
eflags 0x206
cs 0x23
fs 0x0
gs 0x33
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
Shunsuke Wakamatsu commented
多分Goのバージョンあげると動く。dockerizeはGoのバージョンを1.16にするならインストール方法変えた方がよさそう。
hirocy commented
M1持ってない