Linux terminal export in docker

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By kakcalu13

im doing this in the docker.

Here is what I did so far:

  1. sudo apt install godot3
  2. wget
  3. mkdir -p ./.local/share/godot/templates/3.2.stable/
  4. mv Godot_v3.2.2-stable_export_templates.tpz .local/share/godot/templates/3.2.stable/
  5. godot3 --path project.godot --export “Linux/X11” Brain_monitor

The issue is this screenshot
enter image description here

Everytime I load docker, it basically wipe everything which is expected. I wanted to make an automation where I can export the project into .x86_64 file from the bash script.

So, this part is what I’m trying to figure how to export it without any issue. Do you have any idea why is this happening?

:bust_in_silhouette: Reply From: kakcalu13

just add Godotv3.2.2-stableexporttemplates.tpz to ./.local/share/godot/templates/3.2.stable/ and run godot3 --path project.godot --export "Linux/X11" Brainmonitor

it will work. I swear, I did that before but somewhat, it didnt work at first. Now this works. No idea