OCSInventory-NG / OCSInventory-Docker-Image

Docker image for OCSInventory Server
GNU General Public License v3.0
77 stars 90 forks source link

COPY command for conf files is incorrect #116

Open Christophecab opened 2 weeks ago

Christophecab commented 2 weeks ago

It's hard to solve a problem when important details are missing, that why we added this template, to help you and us.

General informations

Docker host's operating system : any Mysql Server version : any

Docker informations

Docker compose version : any Docker version : any

Problem's description

In DockerFile, the COPY command is false as the destination is named as a file , instead of a folder ( trailing '/' missing). So the Docker image cannot be used... we have this kimd of error at container start : cp: cannot stat '/tmp/conf/ocsinventory-server.conf': No such file or directory

It seems corrected in DEV branch, but still present in all image releases...