Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

運作程式 #4

Open
flamerecca opened this issue Sep 12, 2019 · 5 comments
Open

運作程式 #4

flamerecca opened this issue Sep 12, 2019 · 5 comments
Assignees

Comments

@flamerecca
Copy link
Contributor

要能運作受試者的程式,並且正確的輸出到畫面上

@flamerecca
Copy link
Contributor Author

目前想法是

  • 每次受試者考試時,開啟一個新的 docker container
  • 將受試者的輸入傳進 docker 內
  • 將 docker 的輸出傳送到畫面上
  • 關閉對應 docker container

@MilesChou
Copy link
Contributor

Codewar 似乎就是這樣做的

@flamerecca
Copy link
Contributor Author

目前有個需要研究的問題:

laradock 的 workspace 沒有安裝 docker
要研究下怎麼安裝XD

@flamerecca
Copy link
Contributor Author

安裝 docker 之後 用 docker run php:7.2 php -r "echo 1;"

可以正確地得到回傳

@flamerecca
Copy link
Contributor Author

要安裝在 php-fpm 這個 container 裡面

@flamerecca flamerecca self-assigned this Sep 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants