File: Dockerfile

package info (click to toggle)
python-keyring 22.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 504 kB
  • sloc: python: 1,590; sh: 7; makefile: 5
file content (9 lines) | stat: -rw-r--r-- 548 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
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