You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to use apko to build a base image for use with ko. But we also needed the ko-built binary to have a (few) different name(s), so symlinks had to be added. In a unix-y system, you would use ln -sf to create a symlink to some target, which may or may not exist. I thus expected apko to work the same.
This workaround works nicely, though -- when using ko with the apko-built base image, the target (empty) file is replaced, and everything falls into place ✨
The text was updated successfully, but these errors were encountered:
Now, for reasons (see the bottom) I had liked to create a symlink to a nonexistent file.
With a snippet like this,
I ended up getting
A workaround (suggested by @mattmoor, thanks!) is to add an
empty-file
, too:Why?! 😮
I wanted to use apko to build a base image for use with ko. But we also needed the ko-built binary to have a (few) different name(s), so symlinks had to be added. In a unix-y system, you would use
ln -sf
to create a symlink to some target, which may or may not exist. I thus expected apko to work the same.This workaround works nicely, though -- when using ko with the apko-built base image, the target (empty) file is replaced, and everything falls into place ✨
The text was updated successfully, but these errors were encountered: