From f52ad042a99ec90b87c7d18837f5a18bfed8294e Mon Sep 17 00:00:00 2001 From: Scion Date: Sun, 12 Mar 2023 19:44:41 -0700 Subject: [PATCH] fix --- unity-command/Dockerfile | 5 +---- unity-command/entrypoint.sh | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/unity-command/Dockerfile b/unity-command/Dockerfile index fdc5704..5f09f39 100644 --- a/unity-command/Dockerfile +++ b/unity-command/Dockerfile @@ -2,8 +2,6 @@ ARG IMAGE=unityci/base:latest FROM ${IMAGE} -#RUN useradd -ms /bin/bash unity -u 1000 - COPY entrypoint.sh / RUN chmod +x /entrypoint.sh @@ -13,5 +11,4 @@ RUN bash /install-dotnet.sh COPY UnityBuilder /usr/local/bin/ RUN chmod +x /usr/local/bin/UnityBuilder -ENTRYPOINT ["/entrypoint.sh"] -#USER unity \ No newline at end of file +ENTRYPOINT ["/entrypoint.sh"] \ No newline at end of file diff --git a/unity-command/entrypoint.sh b/unity-command/entrypoint.sh index 92e9602..780f7a1 100644 --- a/unity-command/entrypoint.sh +++ b/unity-command/entrypoint.sh @@ -27,7 +27,7 @@ fi if [[ "$SERIAL" == "public" ]]; then unity-editor $DEFAULT_ARGS -serial $SERIAL -username $EMAIL -password $PASSWORD else - UnityBuilder -i unity-editor -u $EMAIL -p $PASSWORD + UnityBuilder -i /usr/bin/unity-editor -u $EMAIL -p $PASSWORD fi #Run the command.