Open
Description
/kind bug
Which area is this bug related to?
/area api
What versions of software are you using?
Podman 5.3.1
Bug Summary
Describe the bug:
According to the CONTRIBUTING.md#prerequisites, I should be able to use podman to run both the build and typescript generation scripts, however build/typescript-model/generate.sh
breaks unless I am using docker specifically.
To Reproduce:
Run the following with podman installed: bash build/typescript-model/generate.sh
Expected behavior
bash build/typescript-model/generate.sh
should run with podman as with docker.
Any logs, error output, screenshots etc? Provide the devfile that sees this bug, if applicable
[INFO] Using the following folder to store all build files devfile/api/build/typescript-model/workdir
[INFO] Generating Swagger JSON...
[INFO] Generating Swagger JSON. It's in devfile/api/build/typescript-model/workdir/typescript-models/swagger.json.unprocessed
kubernetes-client/gen is already cloned into devfile/api/build/typescript-model/workdir/gen
[INFO] Checking out gen to b32dcd6dc9c1c0c4fcf227c9539ae9ff0530b936
devfile/api/build/typescript-model/workdir/gen devfile/api
M openapi/custom_objects_spec.json
HEAD is now at b32dcd6 Set git safe directory to avoid dubious ownership error (#237)
devfile/api
[INFO] preparing config files for gen
[INFO] Lauching gen to generate typescript files based on swagger json
--- Building docker image kubernetes-typescript-client-gen-with-openapi-generator:v1...
devfile/api/build/typescript-model/workdir/gen/openapi/openapi-generator/client-generator.sh: line 75: docker: command not found
Additional context
Any workaround?
Install the podman-docker
docker CLI emulation package.
Suggestion on how to fix the bug
Find a way to use podman with the kubernetes-client/gen scripts without using docker or docker emulation.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Backlog