Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
I
ImgGen
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
ImgGen
Commits
f59e51a2
Commit
f59e51a2
authored
Apr 10, 2020
by
nanahira
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'docker-traditional'
parents
7f3257c8
a87c23e6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
52 additions
and
0 deletions
+52
-0
.dockerignore
.dockerignore
+13
-0
Dockerfile
Dockerfile
+39
-0
No files found.
.dockerignore
0 → 100644
View file @
f59e51a2
.vs/
bin/
obj/
ImgGen.csproj.user
/pico
/picn
/pics
/System.Data.SQLite.dll
Dockerfile
.dockerignore
Dockerfile
0 → 100644
View file @
f59e51a2
FROM
mono:5.20.1.34 as sqlite-builder
RUN
apt-get update
&&
\
apt-get
-y
install
wget sqlite3 libsqlite3-dev p7zip-full
&&
\
rm
-rf
/var/lib/apt/lists/
*
WORKDIR
/
RUN
wget https://minio.mycard.moe:9000/nanahira/sqlite-netFx-full-source-1.0.112.0.zip
&&
\
7z x
-y
-osqlite
sqlite-netFx-full-source-1.0.112.0.zip
&&
\
cd
sqlite
&&
\
xbuild /p:Configuration
=
Release /p:UseInteropDll
=
false
/p:UseSqliteStandard
=
true
./System.Data.SQLite/System.Data.SQLite.2015.csproj
FROM
mono:5.20.1.34 as builder
COPY
. /ImgGen
WORKDIR
/ImgGen
COPY
--from=sqlite-builder /sqlite/bin/2015/ReleaseMonoOnPosix/bin/System.Data.SQLite.dll .
RUN
xbuild /p:Configuration
=
Release /p:TargetFrameworkVersion
=
v4.6
FROM
mono:5.20.1.34
RUN
apt-get update
&&
\
apt-get
-y
install
xfonts-utils fontconfig wget p7zip-full
&&
\
rm
-rf
/var/lib/apt/lists/
*
WORKDIR
/
RUN
wget https://minio.mycard.moe:9000/nanahira/ImgGen-Fonts.7z
&&
\
7z x
-y
-o
/usr/share/fonts ImgGen-Fonts.7z
&&
\
rm
-rf
ImgGen-Fonts.7z
&&
\
mkfontscale
&&
\
mkfontdir
&&
\
fc-cache
-fv
COPY
--from=builder /ImgGen/bin/Release /usr/src/app
WORKDIR
/usr/src/app
RUN
cp
-rf
/usr/share/fonts/ImgGen.exe.config .
ENTRYPOINT
[ "mono" ]
CMD
[ "ImgGen.exe", "./cards.cdb" ]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment