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 ARG IMAGE=unityci/base:latest
FROM ${IMAGE} FROM ${IMAGE}
#RUN useradd -ms /bin/bash unity -u 1000
COPY entrypoint.sh / COPY entrypoint.sh /
RUN chmod +x /entrypoint.sh RUN chmod +x /entrypoint.sh
@@ -14,4 +12,3 @@ COPY UnityBuilder /usr/local/bin/
RUN chmod +x /usr/local/bin/UnityBuilder RUN chmod +x /usr/local/bin/UnityBuilder
ENTRYPOINT ["/entrypoint.sh"] ENTRYPOINT ["/entrypoint.sh"]
#USER unity

View File

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