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

Update README.md

parent 44c00bb5
No related branches found
No related tags found
No related merge requests found
# msdfgen-builder # msdfgen-builder
Dockerised MSDF generator Dockerised msdf-atlas-gen
## What? ## What?
...@@ -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:
``` ```
docker run --rm --name msdfgen r.lcr.gr/microhacks/msdfgen-builder:latest [your arguments go here] docker run --rm --name msdf-atlas-gen 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='docker run --rm --name msdfgen r.lcr.gr/microhacks/msdfgen-builder:latest' alias msdf-atlas-gen='docker run --rm --name msdf-atlas-gen r.lcr.gr/microhacks/msdfgen-builder:latest'
``` ```
### In a Dockerfile ### In a Dockerfile
...@@ -33,6 +33,6 @@ You can copy the binary into your dockerfile for easy usage. Just import it at t ...@@ -33,6 +33,6 @@ You can copy the binary into your dockerfile for easy usage. Just import it at t
FROM r.lcr.gr/microhacks/msdfgen-builder:latest 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/msdf-atlas-gen /usr/bin/msdf-atlas-gen
RUN msdfgen --my --args RUN msdfgen --my --args
``` ```
\ No newline at end of file
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