Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--oci-layout-path requires an absolute path #2455

Open
Routhinator opened this issue Mar 29, 2023 · 0 comments · May be fixed by #3364
Open

--oci-layout-path requires an absolute path #2455

Routhinator opened this issue Mar 29, 2023 · 0 comments · May be fixed by #3364
Labels
area/behavior all bugs related to kaniko behavior like running in as root area/cli bugs related to kaniko CLI good first issue Good for newcomers help wanted Looking for a volunteer! kind/bug Something isn't working kind/enhancement New feature or request

Comments

@Routhinator
Copy link

Actual behavior
--oci-layout-path requires an absolute path while all other flags support relative directories.

Expected behavior
I expect --oci-layout-path to support relative paths like --tarPath and --context

To Reproduce
Steps to reproduce the behavior:

  1. From a /workdir subdirectory, pass --oci-layout-path with a relative directory like --oci-layout-path=image
  2. OCI Layout files will be placed in /image instead of /workdir/image

Additional Information

  • Dockerfile : Not relevant
  • Build Context : not relevant
  • Kaniko Image: 1.9.2:debug

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
@aaron-prindle aaron-prindle added good first issue Good for newcomers help wanted Looking for a volunteer! area/cli bugs related to kaniko CLI area/behavior all bugs related to kaniko behavior like running in as root kind/bug Something isn't working kind/enhancement New feature or request labels May 30, 2023
@EladAviczer EladAviczer linked a pull request Nov 20, 2024 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/behavior all bugs related to kaniko behavior like running in as root area/cli bugs related to kaniko CLI good first issue Good for newcomers help wanted Looking for a volunteer! kind/bug Something isn't working kind/enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants