Closed cirocosta closed 5 years ago
Hey,
In order to get tarballs working as intended
image "concourse/concourse" { file "/usr/local/concourse/bin/gdn" { from_tarball "linux-rc" { path = "concourse/bin/gdn" } } } tarball "linux-rc" { file "gdn" { paths = ["concourse/bin/gdn"] vcs "git" { ref = "master" repository = "https://github.com/cloudfoundry/guardian" } } }
We could:
for each tarball definition - extract that to a scratch-based layer where all the files can be found in a directory
tarball
scratch
for each file reference, we copy the file from the corresponding layer into the final image layer (using fileOp too)
file
fileOp
Thanks!
👍
Hey,
In order to get tarballs working as intended
We could:
for each
tarball
definition - extract that to ascratch
-based layer where all the files can be found in a directoryfor each
file
reference, we copy the file from the corresponding layer into the final image layer (usingfileOp
too)Thanks!