Skip to content

Commit

Permalink
Merge branch 'dockerfile' of https://github.com/jaraco/jaraco.windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Nov 27, 2020
2 parents dd2ba9e + 449499c commit ddbe400
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM mcr.microsoft.com/windows/servercore:ltsc2019
RUN powershell -c "Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iwr https://chocolatey.org/install.ps1 -UseBasicParsing | iex"
RUN choco feature enable -n allowGlobalConfirmation
RUN choco install git python
RUN python -m pip install -U pip pipx
RUN setx path "%path%;C:\Users\ContainerAdministrator\.local\bin"
RUN pipx install tox
RUN setx TOX_WORK_DIR C:\tox
CMD powershell

0 comments on commit ddbe400

Please sign in to comment.