我正在尝试从docker安装odoo。我已经从odoo社区应用程序中包含了odoo数据库备份模块。它需要pysftp python包。我收到错误ERROR: Service 'odoo' failed to build: The command '/bin/sh -c pip install pysftp' returned a non-zero code: 1
搬运工-compose.yml,
version: '2'
services:
database:
image: postgres:9.5
container_name: database
environment:
- POSTGRES_USER=odoo
- POSTGRES_PASSWORD=odoo
ports:
- "5432:5432"
odoo:
image: odoo_zd:8
container_name: odoov8
build: .
ports:
- "8069:8069"
links:
- database
depends_on:
- database
environment:
- PGHOST=database
- PGUSER=odoo
- PGPASSWORD=odoo
这是Dockerfile中的问题行,
RUN pip install pysftp==0.2.8
答案 0 :(得分:1)
解决了,pysftp包有很多先决条件,
-->