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
44c00bb5
Verified
Commit
44c00bb5
authored
2 years ago
by
Louis
Browse files
Options
Downloads
Patches
Plain Diff
Use git due to submodules, switch to correct binary
parent
9ef838f8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#111
passed with stage
in 1 minute and 43 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+10
-13
10 additions, 13 deletions
Dockerfile
with
10 additions
and
13 deletions
Dockerfile
+
10
−
13
View file @
44c00bb5
FROM
debian:11-slim
as
builder
FROM
debian:11-slim
RUN
apt-get update
-yqq
&&
\
RUN
apt-get update
-yqq
&&
\
apt-get upgrade
-yqq
&&
\
apt-get upgrade
-yqq
&&
\
...
@@ -7,26 +7,23 @@ RUN apt-get update -yqq && \
...
@@ -7,26 +7,23 @@ RUN apt-get update -yqq && \
build-essential
\
build-essential
\
g++
\
g++
\
ca-certificates
\
ca-certificates
\
wget
\
git
\
unzip
\
libfreetype6-dev
libfreetype6-dev
WORKDIR
/msdfgen
WORKDIR
/msdfgen
RUN
mkdir
src
&&
\
RUN
git init
&&
\
mkdir
bin
&&
\
git remote add origin
"https://github.com/Chlumsky/msdf-atlas-gen.git"
&&
\
cd
src
&&
\
git fetch
--depth
1 origin ae40bf4a3a0fd4a31ba278bacd1413a1da4d73cf
&&
\
wget https://github.com/Chlumsky/msdfgen/archive/refs/tags/v1.9.2.zip
&&
\
git checkout FETCH_HEAD
&&
\
unzip
"v1.9.2.zip"
git submodule init
&&
\
git submodule update
--depth
1
WORKDIR
/msdfgen/src/msdfgen-1.9.2
RUN
mkdir
build
&&
\
RUN
mkdir
build
&&
\
cd
build
&&
\
cd
build
&&
\
cmake ..
&&
\
cmake ..
&&
\
make
make
RUN
cp
build/msdfgen /msdfgen/bin
&&
\
RUN
cp
build/msdf-atlas-gen /usr/bin/msdf-atlas-gen
cp
build/msdfgen /usr/bin
ENTRYPOINT
["/bin/msdfgen"]
ENTRYPOINT
[ "msdf-atlas-gen" ]
\ No newline at end of file
\ 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