Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
俺の考えた最強のDusk環境
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Ryo Tomidokoro
July 13, 2017
Technology
440
0
Share
俺の考えた最強のDusk環境
Laravel Duskの実行環境をDocker内で完結させる話
Ryo Tomidokoro
July 13, 2017
More Decks by Ryo Tomidokoro
See All by Ryo Tomidokoro
あるアーキテクチャ決定と その結果/architecture-decision-and-its-result
hanhan1978
2
900
開発者が知っておきたい複雑さの正体/where-the-complexity-comes-from
hanhan1978
8
3.6k
Spec Driven Development入門/spec_driven_development_for_learners
hanhan1978
2
1.9k
フロントエンドがTypeScriptなら、バックエンドはPHPでもいいじゃない/php-is-not-bad
hanhan1978
8
14k
どうすると生き残れないのか/how-not-to-survive
hanhan1978
17
15k
100分で本番デプロイ!Laravelで作るWebアプリケーション作成/100min_web_app_cicd
hanhan1978
1
270
PHPerのための計算量入門/Complexity101 for PHPer
hanhan1978
8
3.7k
集中して作業する技術/how_to_work_deeply
hanhan1978
65
57k
PHPでデータベースを作ってみた/create-data-with-php
hanhan1978
11
11k
Other Decks in Technology
See All in Technology
ルール・ロール・ツールを創る / Creating Rules, Roles and Tools
ks91
PRO
0
170
Anthropic AIネイティブ・スタートアップ構築のプレイブック を理解する
nagatsu
0
190
CloudFront VPCオリジンとVPC Latticeサービスの内部ALBをマルチアカウントで一元利用しよう
duelist2020jp
5
240
Harnessing the Power of Mocks and Stubs in PHPUnit / #laravellivejp
asumikam
0
650
オンコールの負荷軽減のためのBits Assistant 活用方法 / How to Use Bits Assistant to Reduce the Workload on On-Call Staff
sms_tech
1
170
freee-mcpを Local→Remote で出してわかった MCP認可実装のリアル
terara
3
710
データ分析基盤の信頼を支える視点と設計
yuki_saito
1
690
Agentic AI時代における メルカリのAIガバナンスとガードレール実装
naoichihara
15
15k
AI活用の格差をなくす:チーム全体のAI開発生産性を底上げする方法
moongift
PRO
1
110
layerx-fde-practices
cipepser
6
2.7k
A Harness for Behaviour: how to get AI to generate code that does what we intend, or "TDD in the age of AI"
xpmatteo
0
440
Node.js+TypeScriptにおけるCJS/ESM相互運用の最新ポイント
grainrigi
2
120
Featured
See All Featured
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.7k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
140
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
710
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.8k
For a Future-Friendly Web
brad_frost
183
10k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
200
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
220
It's Worth the Effort
3n
188
29k
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
190
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
2k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Transcript
俺の考えた最強のDusk環境 -BSBWFM.FFUVQ5PLZP7PM *OOPWBUPS+BQBO*OD ॴ྄ &OHJOFFS
-BSBWFM%VTL デフォルトは Google Chrome Chrome Driver
嫌な予感がする
環境構築担当への強い⾵風当たり の予感
ఆ͞ΕΔԠ 1. Windowsの気持ちを考えたことあるんですか? 2. 宗教上の理理由でChromeをインストール出来ない。 3. 先⽣生! XXXX環境で動きません! ACジャパン -
苦情殺到!桃太郎(全国キャンペーン)より https://www.ad-c.or.jp/campaign/self_all/self_all_01.html
ରԠํ๏ 1. Chrome以外のDriverアリ 2. 公式マニュアルにも記載アリ 3. Qiitaもちらほら 分かる⼈人には簡単に解消できるが ⼈人によっては無限に時間を浪費する
そこで
ͦΕ%PDLFSʹͯ͠ΈΔ
%PDLFSʹ͢Δͱ 1. Dockerが動けば動く! 2. 開発環境構築が環境⾮非依存 3. すべてのクソリプを封殺 ѹతղܾ
%PDLFSʹ͢Δͱ ͓·͚ CIでも同じ構成でそのまま動かせる https://blog.hanhans.net/2017/03/08/codeship/ Docker Cloud, Codeship, TravisCI
これで勝てる!
唐突なDEMO IUUQTHJUIVCDPNIBOIBOEPDLFSMBSBWFMTLFMUPO
%FNPͷ֓ཁ 1. docker-composeで環境⽴立ち上げ 2. docker内からLaravel Duskを実⾏行行 3. エラーが起きるとslackにスクショで通知