The command was incorrectly formatted, resulting in an error: Error: No application module specified.
This commit ensures the command actually runs as it is expected from the upstream image.
Testing instructions
Prerequisites:
skopeo
docker
Build the rock rockcraft pack -v
Save the rock as an OCI image in docker's local registry skopeo --insecure-policy copy oci-archive:<rock name>.rock docker-daemon:jwa:0.1
Run a container with the image and replace the entrypoint with a shell docker run --rm -ti jwa:0.1
Ensure the service gets started correctly. NOTE: Because the container image needs kubeconfig and proper expose of a the serving port, the output of the command could have the following errors:
kubernetes.config.config_exception.ConfigException: Service host/port is not set.
kubernetes.config.config_exception.ConfigException: Invalid kube-config file. No configuration found.
The command was incorrectly formatted, resulting in an error:
Error: No application module specified.
This commit ensures the command actually runs as it is expected from the upstream image.Testing instructions
Prerequisites:
rockcraft pack -v
skopeo --insecure-policy copy oci-archive:<rock name>.rock docker-daemon:jwa:0.1
docker run --rm -ti jwa:0.1