Skip to content

Commit

Permalink
Configure CI (no. 93)
Browse files Browse the repository at this point in the history
  • Loading branch information
cafour committed Apr 30, 2021
1 parent 4bb4c4b commit 62758a6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
5 changes: 4 additions & 1 deletion Dockerfile
Expand Up @@ -5,9 +5,11 @@ FROM mcr.microsoft.com/dotnet/framework/aspnet:4.8-windowsservercore-ltsc2019

RUN Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')

RUN scoop config shim kiennq

RUN scoop install git; `
scoop bucket add extras; `
scoop install chromium chromedriver
scoop install googlechrome chromedriver

COPY --from=dotnet-installer ["/Program Files/dotnet", "/Program Files/dotnet"]

Expand All @@ -16,5 +18,6 @@ RUN dotnet help

ENTRYPOINT []


COPY artifacts/DotVVM.Samples.BasicSamples.Owin /inetpub/dotvvm.owin
COPY src/DotVVM.Samples.Common /inetpub/DotVVM.Samples.Common
8 changes: 2 additions & 6 deletions ci/windows/Dockerfile
Expand Up @@ -3,13 +3,9 @@ FROM mcr.microsoft.com/dotnet/sdk:3.1 as dotnet-installer

FROM mcr.microsoft.com/dotnet/framework/aspnet:4.8-windowsservercore-ltsc2019

RUN Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')
RUN Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')

RUN scoop config shim kiennq

RUN scoop install git; `
scoop bucket add extras; `
scoop install googlechrome chromedriver
RUN choco install -y googlechrome chromedriver

COPY --from=dotnet-installer ["/Program Files/dotnet", "/Program Files/dotnet"]

Expand Down

0 comments on commit 62758a6

Please sign in to comment.