Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy UBT from minimal to conan stage if present #344

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/ue4docker/dockerfiles/ue4-full/linux/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@ RUN pip3 install --upgrade pip setuptools wheel
RUN pip3 install "$CONAN_VERSION" "$UE4CLI_VERSION" "$CONAN_UE4CLI_VERSION"
USER ue4

# Copy in UBT from minimal image, if present (required for `ue4 conan generate` to work on UE5)
ARG UBT_DIR="/home/ue4/UnrealEngine/Engine/Binaries/DotNET"
{% if combine %}
COPY --from=minimal --chown=ue4:ue4 $UBT_DIR/UnrealBuildToo[l] $UBT_DIR/UnrealBuildTool
{% else %}
COPY --from=${NAMESPACE}/ue4-minimal:${TAG}-${PREREQS_TAG} --chown=ue4:ue4 $UBT_DIR/UnrealBuildToo[l] $UBT_DIR/UnrealBuildTool
{% endif %}

# Extract the third-party library details from UBT
RUN ue4 setroot /home/ue4/UnrealEngine
RUN ue4 conan generate
Expand Down