luet/pkg/compiler/types
Ettore Di Giacinto 9d1594c036 Check if the system-target path supplied is absolute
docker.Untar
(https://github.com/mudler/luet/blob/master/vendor/github.com/docker/docker/pkg/archive/archive.go#L942) requires absolute paths.
We didn't do any input validation before, assuming the path passed by
were absolute since they were coming from YAML configuration files, now
that this is not the truth anymore we need to sanitize the input.

With this change we check if the given path is absolute or relative, if
it's relative we calculate the absolute path and use it in place.
2021-08-03 16:22:59 +02:00
..
artifact Check if the system-target path supplied is absolute 2021-08-03 16:22:59 +02:00
compression Refactor compiler and annotate buildoptions into compiler metadata 2021-04-16 13:57:54 +02:00
options Always resolve buildhash image, add --rebuild to build 2021-04-23 12:02:41 +02:00
spec Add missing check for error 2021-08-03 13:36:38 +02:00