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

feat(agent): describe usage of Agent init container for multi-stage container build #201

Open
wants to merge 2 commits into
base: release-40
Choose a base branch
from

Conversation

andrewazores
Copy link
Member

@andrewazores andrewazores commented Oct 1, 2024

See #202
Related to #90

@andrewazores andrewazores added the feat New feature or request label Oct 1, 2024
@andrewazores andrewazores requested review from cmah88 and a team October 1, 2024 14:00
```Dockerfile
ARG cryostat_agent_version

FROM quay.io/cryostat/cryostat-agent-init:${agent_version} AS cryostat_agent
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this be cryostat_agent_version?

```

Next we must rebuild our container image. This is specific to your application but will likely look something like
`docker build -t docker.io/myorg/myapp:latest -f src/main/docker/Dockerfile --build-arg cryostat_agent_version={{ site.data.versions.agent.version }} .`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i dont see 0.4.0 in the quay repo

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There isn't one, that's a new build/publication feature that was introduced more recently.

@andrewazores andrewazores changed the base branch from main to release-40 December 12, 2024 18:48
@andrewazores
Copy link
Member Author

@cryostatio/reviewers ping

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants