mirror of
https://github.com/harness-community/drone-helm-chart-container-registry.git
synced 2026-06-04 18:24:12 +08:00
Windows dockerfile fixed
This commit is contained in:
@@ -8,10 +8,12 @@ WORKDIR C:\\app
|
||||
|
||||
ENV HELM_EXPERIMENTAL_OCI=1
|
||||
|
||||
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
|
||||
SHELL ["cmd", "/S", "/C"]
|
||||
|
||||
# Install chocolatey
|
||||
|
||||
RUN iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
|
||||
RUN powershell -Command "(New-Object System.Net.WebClient).DownloadFile('https://community.chocolatey.org/install.ps1', 'install.ps1')" && \
|
||||
install.ps1
|
||||
|
||||
# Install python3 via chocolatey in powershell
|
||||
RUN choco install -y python3
|
||||
|
||||
Reference in New Issue
Block a user