This commit is contained in:
2023-03-12 18:12:54 -07:00
parent a2edeeed07
commit fbfc586f96

View File

@@ -1,5 +1,5 @@
#Arg is replaced with the desired Unity container. #Arg is replaced with the desired Unity container.
ARG IMAGE=debian:stable-slim ARG IMAGE=unityci/base:latest
FROM ${IMAGE} FROM ${IMAGE}
RUN useradd -ms /bin/bash unity -u 1000 RUN useradd -ms /bin/bash unity -u 1000
@@ -10,8 +10,8 @@ RUN chmod +x /entrypoint.sh
COPY install-dotnet.sh / COPY install-dotnet.sh /
RUN bash /install-dotnet.sh RUN bash /install-dotnet.sh
COPY UnityBuilder /usr/local/bin/ COPY UnityBuilder /usr/bin/
RUN chmod +x /usr/local/bin/UnityBuilder RUN chmod +x /usr/bin/UnityBuilder
ENTRYPOINT ["/entrypoint.sh"] ENTRYPOINT ["/entrypoint.sh"]
USER unity USER unity