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

make docker-build command not found #38

Closed
ch-stark opened this issue Dec 19, 2024 · 4 comments · Fixed by #39
Closed

make docker-build command not found #38

ch-stark opened this issue Dec 19, 2024 · 4 comments · Fixed by #39

Comments

@ch-stark
Copy link

when I follow instructions I get:

make docker-build docker-push IMG=/perses-operator:tag

make: *** No rule to make target 'docker-build'. Stop.

@ch-stark
Copy link
Author

moving ahead doing make deploy I get:
containerStatuses:

  • containerID: cri-o://8e65aff7b0cf237c2598df12acecded18c1432a536b94adaf466c6344d1e18b4
    image: gcr.io/kubebuilder/kube-rbac-proxy:v0.13.1
    imageID: gcr.io/kubebuilder/kube-rbac-proxy@sha256:18f12fc3a0085bbc303cfbd2ad1151127c1c959c4641e36027547b6b66eb4c92
    lastState: {}
    name: kube-rbac-proxy
    ready: true
    restartCount: 0
    started: true
    state:
    running:
    startedAt: "2024-12-19T10:32:00Z"
  • image: docker.io/persesdev/perses-operator:v0.1.0
    imageID: ""
    lastState: {}
    name: manager
    ready: false
    restartCount: 0
    started: false
    state:
    waiting:
    message: |
    container create failed: time="2024-12-19T10:38:52Z" level=error msg="runc create failed: unable to start container process: exec: "/manager": stat /manager: no such file or directory"
    reason: CreateContainerError
    hostIP: 192.168.126.11

@ch-stark
Copy link
Author

tested with crc locally

@Nexucis
Copy link
Member

Nexucis commented Dec 19, 2024

container create failed: time="2024-12-19T10:38:52Z" level=error msg="runc create failed: unable to start container process: exec: "/manager": stat /manager: no such file or directory"

mmm actually that's because the binary in the perses-operator is /bin/operator. Should we change the binary and the place in the docker image @jgbernalp. Or should we just update the file https://github.com/perses/perses-operator/blob/main/config/manager/kustomization.yaml ?

@jgbernalp
Copy link
Contributor

Adjusted in #41

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

Successfully merging a pull request may close this issue.

3 participants