Skip to content

Commit a78f08a

Browse files
committed
Delete /home/ue4/.epic after building UnrealVersionSelector as well
Note that we don't need to delete the directory after the code that builds ShaderCompileWorker with `-SkipBuild`, since that code path only runs when BuildUBT.sh isn't present, and all of the engine versions with problematic UBA behaviour already include BuildUBT.sh.
1 parent c82bb00 commit a78f08a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • src/ue4docker/dockerfiles/ue4-minimal/linux

src/ue4docker/dockerfiles/ue4-minimal/linux/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ RUN {% if build_secret_vars %}{% for var in build_secret_vars %}--mount=type=sec
4141
rm -R -f /home/ue4/.epic
4242

4343
# Ensure UnrealVersionSelector is built, since the prebuilt binaries may not be up-to-date
44-
RUN ./Engine/Build/BatchFiles/Linux/Build.sh UnrealVersionSelector Linux Shipping {{ standalone_build_args }}
44+
RUN ./Engine/Build/BatchFiles/Linux/Build.sh UnrealVersionSelector Linux Shipping {{ standalone_build_args }} && \
45+
rm -R -f /home/ue4/.epic
4546

4647
# Copy InstalledBuild.txt from the Installed Build and run UnrealVersionSelector to populate Install.ini with any custom Build ID specified in the BuildGraph flags
4748
# (Note that the `-unattended` flag used below requires Unreal Engine 4.22 or newer, so this will break under older versions)

0 commit comments

Comments
 (0)