fix: Put export script in own image
HEREDOC support for podman doesn't work exactly 1-1 with Dockerfiles. This fix gives the export script its own image that we mount.
This commit is contained in:
parent
ae9c3ef83a
commit
19c93ce742
9 changed files with 29 additions and 28 deletions
|
|
@ -75,12 +75,10 @@ impl<'a> Module<'a> {
|
|||
|
||||
#[must_use]
|
||||
pub fn print_module_context(&'a self) -> String {
|
||||
serde_json::to_string(self)
|
||||
.unwrap_or_else(|e| {
|
||||
error!("Failed to parse module!!!!!: {e}");
|
||||
process::exit(1);
|
||||
})
|
||||
.replace('"', r#"\""#)
|
||||
serde_json::to_string(self).unwrap_or_else(|e| {
|
||||
error!("Failed to parse module!!!!!: {e}");
|
||||
process::exit(1);
|
||||
})
|
||||
}
|
||||
|
||||
#[must_use]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue