Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
msdfgen-builder
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Microhacks
msdfgen-builder
Commits
5543e45b
Verified
Commit
5543e45b
authored
2 years ago
by
Louis
Browse files
Options
Downloads
Patches
Plain Diff
Update README.md
parent
44c00bb5
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+4
-4
4 additions, 4 deletions
README.md
with
4 additions
and
4 deletions
README.md
+
4
−
4
View file @
5543e45b
# 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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment