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
Not sure whether it's a bug of run-snapcraft.sh or pebble.
In the old official docker container it was possible to place snapcraft.yaml into an arbitrary directory (e.g. mount it as ...:/build/snapcraft.yaml:ro) and use --workdir=/build. Now it doesn't work and gives following error:
2024-04-29T09:59:11.631Z [snapcraft] Could not find snap/snapcraft.yaml. Are you sure you are in the right directory?
2024-04-29T09:59:11.631Z [snapcraft] Recommended resolution: To start a new project, use `snapcraft init`
Whole docker args if you're interested (paths removed and newlines added for readability):
Not sure whether it's a bug of run-snapcraft.sh or pebble.
In the old official docker container it was possible to place snapcraft.yaml into an arbitrary directory (e.g. mount it as
...:/build/snapcraft.yaml:ro
) and use--workdir=/build
. Now it doesn't work and gives following error:Whole docker args if you're interested (paths removed and newlines added for readability):
Turns out one must inspect sources (https://github.com/canonical/snapcraft-rocks/blob/core22-8/rockcraft.yaml) and use
/project
. Is it documented anywhere?The text was updated successfully, but these errors were encountered: