orise-robotics / ros2-docker-devel

Helper tool to develop ROS2 packages using Docker
Apache License 2.0
5 stars 0 forks source link

Error on installing `git-lfs` #49

Closed mateus-amarante closed 2 years ago

mateus-amarante commented 2 years ago

When I install git-lfs, I get the following error:

dpkg: error processing package git-lfs (--configure):
 installed git-lfs package post-installation script subprocess returned error exit status 2
Errors were encountered while processing:
 git-lfs
E: Sub-process /usr/bin/dpkg returned an error code (1)

I think the gitconfig binding in the root environment is related to this problem. I suggest binding with the file from the user folder.

caioaamaral commented 2 years ago

I'm not sure but I think something had changed on docker API. I think we have a new behavior for how it sets the user id. Maybe we don't even need to use gosu anymore.

Perhaps this change is causing the git-lfs error somehow...

mateus-amarante commented 2 years ago

I think it would be good to remove the gosu stuff with the intent of simplifying it if possible.