27 lines
758 B
Docker
27 lines
758 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>"
|
|
|
|
ADD default-build-script /UnityBuilderAction
|
|
ADD steps /steps
|
|
RUN chmod -R +x /steps
|
|
ADD entrypoint.sh /entrypoint.sh
|
|
RUN chmod +x /entrypoint.sh
|
|
RUN ls
|
|
|
|
RUN apt-get -q update \
|
|
&& apt-get -q install -y --no-install-recommends --allow-downgrades \
|
|
libnotify4 \
|
|
libnotify-bin \
|
|
&& apt-get clean
|
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|