diff --git a/README.md b/README.md index b6c0528d1fcc9fe261f66a81402e66aad0033a56..84852f6a3775ce016ae3043014b2c0870e3ade2e 100644 --- a/README.md +++ b/README.md @@ -16,13 +16,13 @@ for the arm64 version of `:latest` You can use the docker image to run msdfgen locally without installing / buildling all of the dependencies. The base command is: ``` -TODO +docker run --rm --name msdfgen r.lcr.gr/microhacks/msdfgen-builder:latest [your arguments go here] ``` But it's recommended to add an alias to your environment, so that you can run the command more easily. Something like: ``` -ALIAS msdfgen="TODO" +alias msdfgen='docker run --rm --name msdfgen r.lcr.gr/microhacks/msdfgen-builder:latest' ``` ### In a Dockerfile @@ -30,7 +30,7 @@ ALIAS msdfgen="TODO" You can copy the binary into your dockerfile for easy usage. Just import it at the top with an alias, and you can later `COPY` from it: ```Dockerfile -FROM TODO as msdfgen +FROM r.lcr.gr/microhacks/msdfgen-builder:latest as msdfgen FROM debian COPY --from=msdfgen /usr/bin/msdfgen /usr/bin/msdfgen