mirror of
https://github.com/harness-community/drone-helm-chart-container-registry.git
synced 2026-06-14 05:12:50 +08:00
18 lines
600 B
Docker
18 lines
600 B
Docker
# Dockerfile for windows/arm64
|
|
FROM --platform=${BUILDPLATFORM:-windows/arm64} mcr.microsoft.com/windows/nanoserver:1809
|
|
|
|
WORKDIR C:\app
|
|
|
|
ENV HELM_EXPERIMENTAL_OCI=1
|
|
|
|
RUN curl.exe -LO "https://get.helm.sh/helm-v3.7.0-windows-arm64.zip" && \
|
|
Expand-Archive -Path helm-v3.7.0-windows-arm64.zip -DestinationPath . && \
|
|
Move-Item -Path .\windows-arm64\helm.exe -Destination C:\Windows\System32\helm.exe && \
|
|
Remove-Item -Path helm-v3.7.0-windows-arm64.zip, windows-arm64 -Recurse
|
|
|
|
RUN powershell -Command Install-WindowsFeature Web-Server
|
|
|
|
COPY main.py ./
|
|
|
|
CMD ["python", "C:\\app\\main.py"]
|