Skip to content
Snippets Groups Projects
Verified Commit 9ef838f8 authored by Louis's avatar Louis :fire:
Browse files

Update README.md

parent 0cd46331
No related branches found
No related tags found
No related merge requests found
...@@ -16,13 +16,13 @@ for the arm64 version of `:latest` ...@@ -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: 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: 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 ### In a Dockerfile
...@@ -30,7 +30,7 @@ ALIAS msdfgen="TODO" ...@@ -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: 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 ```Dockerfile
FROM TODO as msdfgen FROM r.lcr.gr/microhacks/msdfgen-builder:latest as msdfgen
FROM debian FROM debian
COPY --from=msdfgen /usr/bin/msdfgen /usr/bin/msdfgen COPY --from=msdfgen /usr/bin/msdfgen /usr/bin/msdfgen
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment