mirror of
https://github.com/game-ci/unity-builder.git
synced 2025-07-04 12:25:19 -04:00
24 lines
768 B
Docker
24 lines
768 B
Docker
ARG IMAGE
|
|
FROM $IMAGE
|
|
|
|
LABEL "com.github.actions.name"="Unity - Builder"
|
|
LABEL "com.github.actions.description"="Build Unity projects for different platforms."
|
|
LABEL "com.github.actions.icon"="box"
|
|
LABEL "com.github.actions.color"="gray-dark"
|
|
|
|
LABEL "repository"="http://github.com/webbertakken/unity-actions"
|
|
LABEL "homepage"="http://github.com/webbertakken/unity-actions"
|
|
LABEL "maintainer"="Webber Takken <webber@takken.io>"
|
|
|
|
# To be moved to base image
|
|
RUN apt-get -q install -y && apt-get clean
|
|
RUN locale-gen en_US.UTF-8
|
|
ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8'
|
|
|
|
ADD default-build-script /UnityBuilderAction
|
|
ADD steps /steps
|
|
RUN chmod -R +x /steps
|
|
ADD entrypoint.sh /entrypoint.sh
|
|
RUN chmod +x /entrypoint.sh
|
|
ENTRYPOINT ["/entrypoint.sh"]
|