Commit Graph
35 Commits
Author SHA1 Message Date
Alex Goodman 32c1c1b7bf Merge pull request #443 from lutzky/master
Fix rendering for multi-line commands
2023-07-06 10:49:15 -04:00
Alex Goodman 99124abb7a Merge pull request #429 from zachary-walters/update-deprecated-dependency-ioutil
Updated the deprecated ioutil dependency
2023-07-06 10:49:03 -04:00
Ohad Lutzky ceb9688d92 Fix rendering for multi-line commands
Heredocs can be used to create multi-line commands, which broke rendering.

Details about heredocs: https://www.docker.com/blog/introduction-to-heredocs-in-dockerfiles/
2023-07-06 10:48:06 -04:00
zachary-walters ae996cd718 Updated the deprecated ioutil dependency
The ioutil package has been deprecated as of Go v1.16: https://go.dev/doc/go1.16#ioutil

This commit replaces ioutil functions with their respective io/os functions.
2023-07-06 10:41:54 -04:00
Alex Goodman a95e899663 Merge pull request #349 from hedrox/master
Fix stream podman command hanging
2023-07-06 10:36:36 -04:00
Alex Goodman 2a99dd25fe Merge pull request #390 from michaelherold/support-podman-macos
Support podman in macOS
2023-07-06 10:28:44 -04:00
lightsnowball 2030e74234 Fix error on Layer section and reduce information on one line per step.
Instead of printing out multiple lines for some steps in Layer section,
now its only printing one line while other informations can be found in
Layer details. This change also provides fix for index out of bounds
error when user scrolls through steps in Layer section and there exists
at least one step with multi-line commands.
2022-04-29 21:57:16 +02:00
Michael Herold 7dfef036c7 Support podman in macOS
With [a fix][1] in [podman v3.4.3][2], these commands now work as
expected in macOS. Potentially, it might make sense to version check
podman to ensure that the minimum version is met, but I'm not sure
that's needed because it's unlikely that people have an older version
installed _and_ wish to use this tool.

I'm unsure whether the commands work on Windows so I left the
unsupported version there compiling with the negation of the supported
flags.

[1]: https://github.com/containers/podman/issues/12402
[2]: https://github.com/containers/podman/blob/4ba71f955a944790edda6e007e6d074009d437a7/RELEASE_NOTES.md#bugfixes-2
2022-03-31 10:10:55 -05:00
Andrei Marin 4d5b2824ee Fix stream podman command hanging 2021-04-11 18:53:58 +00:00
Alejandro Visiedo ec6b2277b8 docker-archive: Add support for kaniko 2020-10-31 23:12:25 +01:00
Alex Goodman ed57565910 fix nil log dest; clean tar paths 2019-11-19 09:59:57 -08:00
Alex Goodman 3fbc016826 rm libpod & shell out to podman binary 2019-11-08 13:28:04 -05:00
Alex Goodman 6dd7f7af6e fix non-linux build (exclude podman) 2019-10-18 17:39:15 -04:00
Alex Goodman e39e646191 adding docker-archive source option 2019-10-08 18:55:03 -04:00
Alex Goodman 3e490f7b5c fix dead code lint 2019-10-08 10:14:46 -04:00
Alex Goodman 41b42cdd68 only podman via docker archive support 2019-10-08 10:08:53 -04:00
Alex Goodman 5e4c3eedb7 fix windows/darwin import 2019-10-08 09:45:43 -04:00
Alex Goodman a978266adf rm deplicate test helper 2019-10-08 09:41:10 -04:00
Alex Goodman c83bc9e3d0 remove podman from darwin/windows builds 2019-10-08 09:38:41 -04:00
Alex Goodman fd3459eb02 fix validation errors 2019-10-07 18:34:11 -04:00
Alex Goodman fcb5ec01ef gofmt 2019-10-07 18:25:53 -04:00
Alex Goodman 2640bdced8 fix tests 2019-10-07 18:25:35 -04:00
Alex Goodman 4714aca123 fix tests 2019-10-07 17:44:52 -04:00
Alex Goodman 7f786eb725 cleanup layer id/digest & add tags support 2019-10-07 13:57:59 -04:00
Alex Goodman 2712c1017e remove reverse iteration for layer display and processing 2019-10-07 12:41:57 -04:00
Alex Goodman a310732060 add shared layer type (instead of interface) 2019-10-07 12:09:31 -04:00
Alex Goodman d53d8926bc stop swallowing errors & cleanup exit logic 2019-10-07 11:44:41 -04:00
Alex Goodman 56e8530dea ui bug on bad analysis result 2019-10-04 10:05:25 -04:00
Alex Goodman 49c0002a0e image derived from podman dir (not working) 2019-10-03 23:36:57 -04:00
Alex Goodman 8053a8d1aa introduced common image format and analyzer 2019-10-03 16:46:29 -04:00
Alex Goodman 50d776e845 rework resolver interface 2019-10-03 10:47:38 -04:00
Alex Goodman d2c661eaf7 leveraging docker export for podman 2019-10-03 09:42:27 -04:00
Alex Goodman acfdd70854 playing with podman store data 2019-10-02 15:48:10 -04:00
Alex Goodman 485f5fc500 import podman runtime approach 2019-10-02 14:25:19 -04:00
Alex Goodman e6040a4450 fix git ignore 2019-09-22 11:50:05 -04:00