Files
unity/unity-command/Dockerfile
2023-03-12 19:44:41 -07:00

14 lines
305 B
Docker

#Arg is replaced with the desired Unity container.
ARG IMAGE=unityci/base:latest
FROM ${IMAGE}
COPY entrypoint.sh /
RUN chmod +x /entrypoint.sh
COPY install-dotnet.sh /
RUN bash /install-dotnet.sh
COPY UnityBuilder /usr/local/bin/
RUN chmod +x /usr/local/bin/UnityBuilder
ENTRYPOINT ["/entrypoint.sh"]