This commit is contained in:
2023-03-12 19:44:41 -07:00
parent 12a127aa5a
commit f52ad042a9
2 changed files with 2 additions and 5 deletions

View File

@@ -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
ENTRYPOINT ["/entrypoint.sh"]

View File

@@ -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.