mirror of
https://github.com/harness-community/drone-helm-chart-container-registry.git
synced 2026-06-04 18:24:12 +08:00
windows dockerfile update
This commit is contained in:
@@ -11,12 +11,12 @@ ENV chocolateyVersion=1.4.0
|
||||
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
|
||||
|
||||
RUN Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
|
||||
RUN set-ExecutionPolicy RemoteSigned -Scope CurrentUser
|
||||
|
||||
RUN choco install -y kubernetes-helm
|
||||
RUN choco install git.install -y
|
||||
|
||||
COPY ./main.sh /app/
|
||||
COPY ./main.sh ./
|
||||
|
||||
# ENTRYPOINT ["python", "C:\\app\\main.py"]
|
||||
# CMD ["C:\\Program Files\\Git\\bin\\bash.exe", "-c", "./main.sh"]
|
||||
ENTRYPOINT ["C:\\Program Files\\Git\\bin\\bash.exe", "-c", "./main.sh"]
|
||||
ENTRYPOINT [ "./main.sh" ]
|
||||
Reference in New Issue
Block a user