This commit is contained in:
2023-03-12 18:47:55 -07:00
parent 9850bc6058
commit 23c84debae
3 changed files with 4 additions and 3 deletions

View File

@@ -10,8 +10,8 @@ RUN chmod +x /entrypoint.sh
COPY install-dotnet.sh /
RUN bash /install-dotnet.sh
COPY UnityBuilder /usr/bin/
RUN chmod +x /usr/bin/UnityBuilder
COPY UnityBuilder /usr/local/bin/
RUN chmod +x /usr/local/bin/UnityBuilder
ENTRYPOINT ["/entrypoint.sh"]
USER unity

View File

@@ -27,7 +27,7 @@ fi
if [[ "$SERIAL" == "public" ]]; then
unity-editor $DEFAULT_ARGS -serial $SERIAL -username $EMAIL -password $PASSWORD
else
/usr/bin/UnityBuilder -i unity-editor -u $EMAIL -p $PASSWORD
UnityBuilder -i unity-editor -u $EMAIL -p $PASSWORD
fi
#Run the command.