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

docker containerのm1対応 #5848

Merged
merged 1 commit into from
Oct 26, 2022
Merged

Conversation

chihiro-adachi
Copy link
Contributor

@chihiro-adachi chihiro-adachi commented Oct 26, 2022

概要(Overview・Refs Issue)

M1 macでdocker containerが立ち上がらない問題を修正しました。
#5847

方針(Policy)

こちらに記載の通り、RUN echo "Mutex posixsem" >> /etc/apache2/apache2.confを追加しています。

実装に関する補足(Appendix)

テスト(Test)

以下で起動し、EC-CUBEも動作することを確認しています。

docker run --rm --name ec-cube -p "8080:80" -p "4430:443"  ghcr.io/chihiro-adachi/ec-cube-php:8.1-apache-fix-dockerbuild-m1

https://github.com/chihiro-adachi/ec-cube/pkgs/container/ec-cube-php/47344334?tag=8.1-apache-fix-dockerbuild-m1

相談(Discussion)

マイナーバージョン互換性保持のための制限事項チェックリスト

  • 既存機能の仕様変更はありません
  • フックポイントの呼び出しタイミングの変更はありません
  • フックポイントのパラメータの削除・データ型の変更はありません
  • twigファイルに渡しているパラメータの削除・データ型の変更はありません
  • Serviceクラスの公開関数の、引数の削除・データ型の変更はありません
  • 入出力ファイル(CSVなど)のフォーマット変更はありません

レビュワー確認項目

  • 動作確認
  • コードレビュー
  • E2E/Unit テスト確認(テストの追加・変更が必要かどうか)
  • 互換性が保持されているか
  • セキュリティ上の問題がないか
    • 権限を超えた操作が可能にならないか
    • 不要なファイルアップロードがないか
    • 外部へ公開されるファイルや機能の追加ではないか
    • テンプレートでのエスケープ漏れがないか

@codecov-commenter
Copy link

Codecov Report

Merging #5848 (7f0182e) into 4.2 (1815e6a) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                4.2    #5848      +/-   ##
============================================
- Coverage     78.79%   78.79%   -0.01%     
  Complexity     6298     6298              
============================================
  Files           470      470              
  Lines         21132    21132              
============================================
- Hits          16651    16650       -1     
- Misses         4481     4482       +1     
Flag Coverage Δ
E2E 64.83% <ø> (-0.02%) ⬇️
Unit 77.71% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/Eccube/Entity/TaxRule.php 85.18% <0.00%> (-1.24%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

nanasess added a commit to nanasess/ec-cube2 that referenced this pull request Oct 26, 2022
nanasess added a commit to nanasess/ec-cube2 that referenced this pull request Oct 26, 2022
nanasess added a commit to nanasess/ec-cube2 that referenced this pull request Oct 26, 2022
nanasess added a commit to nanasess/ec-cube2 that referenced this pull request Oct 26, 2022
@shinya
Copy link
Contributor

shinya commented Oct 26, 2022

動作上、問題ないことを確認できました。
マージします。

@shinya shinya added the bug:Low label Oct 26, 2022
@shinya shinya added this to the 4.2.1 milestone Oct 26, 2022
@shinya shinya merged commit b36f749 into EC-CUBE:4.2 Oct 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants