【发布时间】:2018-09-25 15:48:53
【问题描述】:
使用 docker-compose,我正在尝试构建一个 Ruby 应用程序 (ruby-app)。然而,在构建结束时它会出错:
There was an error while trying to write to `/ruby-app/Gemfile.lock`. It is likely
that you need to grant write permissions for that path.
ERROR: Service 'ruby-app' failed to build: The command '/bin/sh -c bundle install --jobs 4' returned a non-zero code: 23
不知道为什么现在会出现这个权限错误,它已经建立了一段时间。
【问题讨论】:
标签: ruby docker docker-compose bundler