我一直在嘗試使用imagick部署一個(gè)簡(jiǎn)單的 Go 應(yīng)用程序 這需要Imagemagick. 我已經(jīng)嘗試使用多 buildpack來(lái)安裝 Imagemagick 并運(yùn)行我的應(yīng)用程序。這是我的.buildpack樣子:https://github.com/mcollina/heroku-buildpack-imagemagickhttps://github.com/kr/heroku-buildpack-go.git這是我在 Heroku 上看到的錯(cuò)誤: Fetching repository, done.Counting objects: 170, done.Compressing objects: 100% (154/154), done.Writing objects: 100% (169/169), 170.13 KiB | 0 bytes/s, done.Total 169 (delta 21), reused 0 (delta 0)-----> Fetching custom git buildpack... done-----> Multipack app detected=====> Downloading Buildpack: https://github.com/mcollina/heroku-buildpack-imagemagick=====> Detected Framework:-----> Installing libpng 1.5.14 Download completed Installation completed-----> Installing imagemagick 6.8.2-3 Download completed Installation completed-----> Building runtime environment for imagemagick=====> Downloading Buildpack: https://github.com/kr/heroku-buildpack-go.git=====> Detected Framework: Go-----> Installing go1.3... done-----> Running: godep go install -tags heroku ./...# github.com/gographics/imagick/imagickerror: 'RemoveAlphaChannel' undeclared (first use in this function)error: 'FlattenAlphaChannel' undeclared (first use in this function)godep: go exit status 2 ! Push rejected, failed to compile Multipack appTo git@heroku.com:philosoraptor-me.git ! [remote rejected] master -> master (pre-receive hook declined)error: failed to push some refs to
在 Heroku 上使用 Imagemagick 部署 Go 應(yīng)用程序
達(dá)令說(shuō)
2021-08-23 16:28:41