From 9ef838f84b4faecb2aa206b0f477545da417ebd1 Mon Sep 17 00:00:00 2001 From: Louis Capitanchik <contact@louiscap.co> Date: Thu, 18 Aug 2022 18:58:56 +0100 Subject: [PATCH] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b6c0528..84852f6 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 -- GitLab