Closed slimsag closed 8 years ago
It would be nice to be able to verify that this is indeed the issue before merging it back in, since it's clearly marked as a HACK. Unfortunately I cannot reproduce the issue locally.
It's a harmless hack, so let's just try it.
Good news: I've managed to confirm that this does indeed fix the issue on our workers (i.e. Docker version 1.6.2, build 7c8fca2
).
This change reverts a part of PR #212 / 3dcee737b542f81af862a93449eb9deb855cce3f which removed a hack on the pretense that it worked fine locally without it. Although it is true that it works fine without it locally (e.g. running
srclib config -m docker
works), we are seeing failures to build the github.com/golang/go repository due to file permission errors:Suspected is that older Docker versions handle the file permissions differently, thus it works locally but not in prod.