fix: rewrite how image env is merged (#828)

* fix: rewrite how image env is merged

* test: add test for extractFromImageEnv
This commit is contained in:
Ryan authored and GitHub committed 2021-09-27 19:01:14 +00:00
1 parent 7a426a0f37
commit 6c60af7677
5 files changed
+84 -63

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
FROM scratch
ENV PATH="/this/path/does/not/exists/anywhere:/this/either"
ENV SOME_RANDOM_VAR=""
ENV ANOTHER_ONE="BUT_I_HAVE_VALUE"
ENV CONFLICT_VAR="I_EXIST_ONLY_HERE"