project-stacker / stacker

Build OCI images natively from a declarative format
https://stackerbuild.io
Apache License 2.0
208 stars 34 forks source link

Bug: `dest` import configuration adds double quotes as folder names in the destination path #591

Closed andaaron closed 9 months ago

andaaron commented 9 months ago

stacker version

v1.0.0-rc1-c00511a

Describe the bug

Bug: dest import configuration adds double quotes as folder names in the destination path. See example below.

To reproduce

Build this stackerfile: https://github.com/project-zot/zot/pull/2249/files#diff-85374a65a2887bd6565852be92274950af16bb0391928897937117ee3cf5749b

The image it produces places the jarfile at \"/usr/local/artifacts/\"/spring-web-5.3.31.jar where " are actual folder names in the path. Same issue happens if dest has value /, the resulting path in the file system is \"/\"/spring-web-5.3.31.jar.

Expected behavior

Stacker should not add " in the destination paths.

Screenshots

No response

Additional context

No response

andaaron commented 9 months ago

Does not reproduce with v1.0.0-rc11-4f3ec05