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:
@@ -7,6 +7,7 @@ WORKDIR C:\\app
|
||||
ENV HELM_EXPERIMENTAL_OCI=1
|
||||
ENV chocolateyVersion=1.4.0
|
||||
|
||||
ENV PATH="C:\\Program Files\\Git\\bin;$PATH"
|
||||
|
||||
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
|
||||
|
||||
@@ -19,6 +20,7 @@ COPY ./main.sh ./
|
||||
|
||||
# ENTRYPOINT ["python", "C:\\app\\main.py"]
|
||||
# CMD ["C:\\Program Files\\Git\\bin\\bash.exe", "-c", "./main.sh"]
|
||||
RUN chmod +x main.sh
|
||||
|
||||
# Execute main.sh in powershell
|
||||
ENTRYPOINT ["powershell", "-Command", "./main.sh"]
|
||||
ENTRYPOINT ["bash", "./main.sh"]
|
||||
Reference in New Issue
Block a user