Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-images-generator
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
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
ygopro-images-generator
Commits
dbac7f16
Commit
dbac7f16
authored
Apr 04, 2016
by
神楽坂玲奈
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docker
parent
39954c1f
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
30 additions
and
7 deletions
+30
-7
.gitmodules
.gitmodules
+4
-0
Dockerfile
Dockerfile
+16
-2
Gemfile
Gemfile
+1
-1
Gemfile.lock
Gemfile.lock
+2
-2
Global.rb
Global.rb
+2
-2
entrypoint.sh
entrypoint.sh
+4
-0
magicseteditor
magicseteditor
+1
-0
No files found.
.gitmodules
0 → 100644
View file @
dbac7f16
[submodule "magicseteditor"]
path = magicseteditor
url = https://github.com/mycard/magicseteditor.git
branch = win32
Dockerfile
View file @
dbac7f16
FROM
ruby:onbuild
CMD
["./Server.rb"]
FROM
ruby
RUN
dpkg
--add-architecture
i386
RUN
apt-get update
RUN
apt-get
install
-y
wine32 xvfb
RUN
bundle config
--global
frozen 1
RUN
mkdir
-p
/usr/src/app
WORKDIR
/usr/src/app
COPY
Gemfile /usr/src/app/
COPY
Gemfile.lock /usr/src/app/
RUN
bundle
install
COPY
. /usr/src/app
ENV
DISPLAY=:0.0
CMD
["./entrypoint.sh"]
Gemfile
View file @
dbac7f16
...
...
@@ -3,4 +3,4 @@ source 'https://rubygems.org'
gem
'
sinatra
'
gem
'
json
'
gem
'
sqlite3
'
gem
'
zip
'
gem
'
ruby
zip
'
Gemfile.lock
View file @
dbac7f16
...
...
@@ -5,22 +5,22 @@ GEM
rack (1.6.4)
rack-protection (1.5.3)
rack
rubyzip (1.2.0)
sinatra (1.4.7)
rack (~> 1.5)
rack-protection (~> 1.4)
tilt (>= 1.3, < 3)
sqlite3 (1.3.11)
tilt (2.0.2)
zip (2.0.2)
PLATFORMS
ruby
DEPENDENCIES
json
rubyzip
sinatra
sqlite3
zip
BUNDLED WITH
1.11.2
Global.rb
View file @
dbac7f16
...
...
@@ -24,7 +24,7 @@ module Global
self
.
records_name
=
"records.json"
self
.
answer_path
=
"ygopro-images-%s"
self
.
answer_uri
=
"https://github.com/mycard/ygo-images.git"
self
.
mse_path
=
"
MagicSetEditor2
"
self
.
mse_path
=
"
magicseteditor
"
self
.
sql_fix_name
=
"fix.sql"
self
.
mse_set_path
=
"mse-sets"
module_function
...
...
entrypoint.sh
0 → 100755
View file @
dbac7f16
#!/bin/bash
Xvfb :0 &
ruby Server.rb
magicseteditor
@
725ba01c
Subproject commit 725ba01ca666882725d0dbb552ca4caed9e3c9c4
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