sagikazarmark / docker-ref

A library for parsing Docker image references

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docker-ref

GitHub Workflow Status go.dev reference built with nix

A library for parsing Docker image references.

This library is extracted from the distribution project (from this commit).

It's sole purpose is to allow parsing Docker image references without having to import the entire distribution project with all of its dependencies.

Installation

go get github.com/sagikazarmark/docker-ref

Development

For an optimal developer experience, it is recommended to install Nix and direnv.

Run the test suite:

just test

Prior art

There are some existing solutions out there, but I decided it's easier if I just fork the repo myself.

License

The project is licensed under the Apache 2.0 License.

About

A library for parsing Docker image references

License:Apache License 2.0


Languages

Language:Go 98.7%Language:Nix 1.2%Language:Just 0.1%