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