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

Docker Image pack:base does not include shell #2111

Open
kaiomatico opened this issue Mar 28, 2024 · 1 comment
Open

Docker Image pack:base does not include shell #2111

kaiomatico opened this issue Mar 28, 2024 · 1 comment
Labels
status/ready Issue ready to be worked on. type/chore Issue that requests non-user facing changes.

Comments

@kaiomatico
Copy link

Summary

Running the command docker run --rm --it --entrypoint sh buildpacksio/pack:0.33.2-base works fine, but docker run --rm --it --entrypoint sh buildpacksio/pack:base results in the error that sh could not be found in $PATH


Reproduction

Steps

See above

Current behavior

sh could not be found in $PATH on the base image without version tag

Expected behavior

sh should be included in the base image tag just like it is on the 0.33.2-base image tag


Environment

pack info
docker info

Docker 24.0.5 on Linux

@kaiomatico kaiomatico added status/triage Issue or PR that requires contributor attention. type/bug Issue that reports an unexpected behaviour. labels Mar 28, 2024
@jjbustamante jjbustamante added type/chore Issue that requests non-user facing changes. status/ready Issue ready to be worked on. and removed type/bug Issue that reports an unexpected behaviour. status/triage Issue or PR that requires contributor attention. labels Apr 1, 2024
@jjbustamante
Copy link
Member

I think the problem is in this line

We expect to retag the base, jammy image to :base but we are using an image reference without the ${{ matrix.suffix }} and we ended up copying the tiny image (based on distroless)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/ready Issue ready to be worked on. type/chore Issue that requests non-user facing changes.
Projects
None yet
Development

No branches or pull requests

2 participants