Initial Commit.
This commit is contained in:
17
unity-command/Dockerfile
Normal file
17
unity-command/Dockerfile
Normal file
@@ -0,0 +1,17 @@
|
||||
#Arg is replaced with the desired Unity container.
|
||||
ARG IMAGE=debian:stable-slim
|
||||
FROM ${IMAGE}
|
||||
|
||||
RUN useradd -ms /bin/bash unity -u 1000
|
||||
|
||||
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"]
|
||||
USER unity
|
||||
Reference in New Issue
Block a user