fix
This commit is contained in:
@@ -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"]
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user