Switch ADD to COPY to conform with best practices, change ls to dir on windows dockerfile
parent
11ad776b4f
commit
a3cadeaf30
|
|
@ -10,10 +10,10 @@ LABEL "repository"="http://github.com/game-ci/unity-actions"
|
|||
LABEL "homepage"="http://github.com/game-ci/unity-actions"
|
||||
LABEL "maintainer"="Webber Takken <webber@takken.io>"
|
||||
|
||||
ADD default-build-script /UnityBuilderAction
|
||||
ADD platforms/ubuntu/steps /steps
|
||||
COPY default-build-script /UnityBuilderAction
|
||||
COPY platforms/ubuntu/steps /steps
|
||||
RUN chmod -R +x /steps
|
||||
ADD platforms/ubuntu/entrypoint.sh /entrypoint.sh
|
||||
COPY platforms/ubuntu/entrypoint.sh /entrypoint.sh
|
||||
RUN chmod +x /entrypoint.sh
|
||||
RUN ls
|
||||
|
||||
|
|
|
|||
|
|
@ -13,6 +13,6 @@ LABEL "maintainer"="Webber Takken <webber@takken.io>"
|
|||
COPY default-build-script c:/UnityBuilderAction
|
||||
COPY platforms/windows/steps c:/steps
|
||||
COPY platforms/windows/entrypoint.ps1 c:/entrypoint.ps1
|
||||
RUN ls
|
||||
RUN dir
|
||||
|
||||
ENTRYPOINT ["powershell", "c:/entrypoint.ps1"]
|
||||
|
|
|
|||
Loading…
Reference in New Issue