Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 817 Bytes

CONTRIBUTING.md

File metadata and controls

37 lines (26 loc) · 817 Bytes

Contributing

Developing

Please refer to the rockcraft documentations to learn how to develop a rock.

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 using the following command:

rockcraft pack -v

Assuming the skopeo has been installed. Import the created rock 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