Commit f10bbd1a authored by 神楽坂玲奈's avatar 神楽坂玲奈

use ssh git protocol

parent 0de9527d
[submodule "magicseteditor"] [submodule "magicseteditor"]
path = magicseteditor path = magicseteditor
url = https://github.com/mycard/magicseteditor.git url = git@github.com:mycard/magicseteditor.git
branch = win32 branch = win32
[submodule "ygopro-images-raw"] [submodule "ygopro-images-raw"]
path = ygopro-images-raw path = ygopro-images-raw
url = https://github.com/mycard/ygopro-images-raw.git url = git@github.com:mycard/ygopro-images-raw.git
[submodule "ygopro-database"] [submodule "ygopro-database"]
path = ygopro-database path = ygopro-database
url = https://github.com/mycard/ygopro-database.git url = git@github.com:mycard/ygopro-database.git
branch = build
[submodule "ygopro-images"] [submodule "ygopro-images"]
path = ygopro-images path = ygopro-images
url = https://github.com/mycard/ygopro-images.git url = git@github.com:mycard/ygopro-images.git
...@@ -14,6 +14,7 @@ RUN bundle install ...@@ -14,6 +14,7 @@ RUN bundle install
RUN git config --global user.email "zh99998+mycard@gmail.com" RUN git config --global user.email "zh99998+mycard@gmail.com"
RUN git config --global user.name "mycard" RUN git config --global user.name "mycard"
RUN git config --global push.default simple RUN git config --global push.default simple
RUN ssh-keyscan github.com > /etc/ssh/ssh_known_hosts
ENV WINEARCH=win32 ENV WINEARCH=win32
ENV RACK_ENV=production ENV RACK_ENV=production
...@@ -21,4 +22,4 @@ RUN wineboot -i ...@@ -21,4 +22,4 @@ RUN wineboot -i
COPY magicseteditor/fonts /root/.wine/drive_c/windows/Fonts COPY magicseteditor/fonts /root/.wine/drive_c/windows/Fonts
COPY . /usr/src/app COPY . /usr/src/app
CMD ["./entrypoint.sh"] CMD xvfb-run --server-args="-screen 0 1x0x24" ./Server.rb
#!/bin/bash
echo "machine github.com login ${GITHUB_USERNAME} password ${GITHUB_PASSWORD}" > ~/.netrc
chmod 600 ~/.netrc
xvfb-run --server-args="-screen 0 1x0x24" ./Server.rb
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment