Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 835 Bytes

CONTRIBUTING.md

File metadata and controls

37 lines (26 loc) · 835 Bytes

Contributing

Developing

Please refer to the rockcraft documentations to learn how to develop a ROCK image.

Please install pre-commit hooks to help enforce various validations:

pre-commit install -t commit-msg

Building and Running Locally

You can build the ROCK image using the following command:

rockcraft pack -v

Assuming the skopeo has been installed. Import the created ROCK image into Docker:

sudo /snap/rockcraft/current/bin/skopeo --insecure-policy copy oci-archive:<local-rock-name>.rock docker-daemon:hydra:latest

Run a Kratos container using Docker:

docker run -d \
  --rm \
  --name <container-name> \
  hydra:latest