Skip to content
README.md 841 B
Newer Older
[![pipeline-status][]][master-commit]


docker-build-helpers
====================

Helper scripts for building Docker images.


Install
-------

The easiest way to add these scripts to a build stage is to copy from the supplied Docker 
image:

```dockerfile
COPY --from=docker.kodo.org.uk/kodo.org.uk/docker/docker-build-helpers:latest /scripts /bin
RUN collect-binaries [...]
```


Usage
-----

To view the help text for a particular script, run it with Docker; for example the 
`collect-binaries` script:

```shell
docker run --rm docker.kodo.org.uk/kodo.org.uk/docker/docker-build-helpers collect-binaries --help
  https://code.kodo.org.uk/kodo.org.uk/docker/docker-build-helpers/badges/master/pipeline.svg
  https://code.kodo.org.uk/kodo.org.uk/docker/docker-build-helpers/-/commits/master