mirror of
https://github.com/harness-community/drone-helm-chart-container-registry.git
synced 2026-06-14 05:12:50 +08:00
21 lines
724 B
Docker
21 lines
724 B
Docker
FROM --platform=windows/amd64 mcr.microsoft.com/windows/servercore:ltsc2022
|
|
|
|
USER ContainerAdministrator
|
|
|
|
WORKDIR C:\\app
|
|
|
|
ENV HELM_EXPERIMENTAL_OCI=1
|
|
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 choco install -y kubernetes-helm
|
|
RUN choco install git.install -y
|
|
|
|
COPY ./main.sh ./
|
|
|
|
# ENTRYPOINT ["python", "C:\\app\\main.py"]
|
|
CMD ["bash", "C:\\app\\main.sh"] |