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

Fix db:seed in docker #306

Merged
merged 2 commits into from
Nov 10, 2021
Merged

Fix db:seed in docker #306

merged 2 commits into from
Nov 10, 2021

Conversation

takahashim
Copy link
Collaborator

@takahashim takahashim commented Nov 8, 2021

🎩 What? Why?

This patch is from docker/for-linux#1015 (comment)

DockerでFileUtilsのcopy_fileを使うと0バイトのファイルができることがある(!?)ようなので、それをtouchで回避するworkaroundを入れてみます。
touchでファイルがなければ作るだけなので、Docker以外でも特に問題はないはずです。

📌 Related Issues

📋 Subtasks

  • Add CHANGELOG upgrade notes, if required
  • If there's a new public field, add it to GraphQL API
  • Add documentation regarding the feature
  • Add/modify seeds
  • Add tests
  • Another subtask

@ayuki-joto
Copy link
Collaborator

ayuki-joto commented Nov 8, 2021

ありがとうございます!!!
かなり限られた条件下で再現する問題ですが解決しそうでよかったです!!

@ayuki-joto
Copy link
Collaborator

@komtaki
僕の環境では動作確認できましたが念のためご確認いただいていいでしょうか?

Copy link
Contributor

@komtaki komtaki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

こんなバグがあるんですね。公式dockerで対応されるのが待ち遠しいです。:thinking:

私のローカルでも確認できました。対応ありがとうございます。

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

Successfully merging this pull request may close these issues.

Docke環境でseedが動かない
3 participants