You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running the install script as part of the dockefile generates the following output:
INFO[0153] RUN ./install-all.sh
INFO[0153] Cmd: /bin/bash
INFO[0153] Args: [-c ./install-all.sh]
INFO[0153] Running: [/bin/bash -c ./install-all.sh]
Target\n - OS: \n - ARCH: \n - VARIANT:
Install PowerShell
--2024-11-05 13:30:25-- https://github.com/PowerShell/PowerShell/releases/download/v7.4.6/powershell-7.4.6--.tar.gz
Resolving github.com (github.com)... 20.205.243.166
Connecting to github.com (github.com)|20.205.243.166|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-11-05 13:30:25 ERROR 404: Not Found.
./install-all.sh: line 40: /usr/bin/pwsh: No such file or directory
./install-all.sh: line 41: /usr/bin/pwsh: No such file or directory
./install-all.sh: line 42: /usr/bin/pwsh: No such file or directory
Triage Notes for the Maintainers
Description
Yes/No
Please check if this a new feature you are proposing
Please check if the build works in docker but not in kaniko
Please check if this error is seen when you use --cache flag
Please check if your dockerfile is a multistage dockerfile
The text was updated successfully, but these errors were encountered:
Actual behavior
Exposing and assigning TARGET* arguments to environment variables don't persist and are not part of scope while building an image.
Expected behavior
Exposing variables using ARG and than save them into ENV should persist during building. For example the following definition:
ARG TARGETOS ENV TARGETOS=${TARGETOS}
Should resolve to the following output inside the image:
To Reproduce
Steps to reproduce the behavior:
Additional Information
The following files are using during build of the image:
Image: gcr.io/kaniko-project/executor:v1.23.2-debug
Running the install script as part of the dockefile generates the following output:
Triage Notes for the Maintainers
--cache
flagThe text was updated successfully, but these errors were encountered: