Closed dgrisham closed 5 years ago
We should just make them relative.
However, Windows doesn't support relative paths.
Windows does support relative symlinks, you're thinking about junctions. Unfortunately, symlinks require https://blogs.windows.com/buildingapps/2016/12/02/symlinks-windows-10/.
However, that's probably fine for gx-go.
I recently tried out the
feat/gx-lock
branch. The symlinks togx
packages created bygx lock-install
are absolute paths. However, when Docker is building an image, it will not follow symlinks that lead outside of the build context. To fix this, the symlinks must be relative paths (since the destination paths are still inside of the package/build context).We could have
gx lock-install
default to using relative links. However, Windows doesn't support relative paths. This leaves us with two options:--relative
option that creates relative paths instead of absolute.