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
Dev Containerを使ってみよう / Let's try Dev Container!
Search
44aki
September 12, 2024
39
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Dev Containerを使ってみよう / Let's try Dev Container!
44aki
September 12, 2024
More Decks by 44aki
See All by 44aki
個人開発でDevinに20ドル課金してみた / Devin starting at $20
44aki
0
60
Reactの再レンダリングを理解する / Understanding React Re-rendering
44aki
0
59
Hotwire入門 Part1 / Introduction to Hotwire Part 1
44aki
0
58
プロダクト開発における振り返り手法 / Reflection Methods in Product Development
44aki
0
58
プロダクト開発におけるエンジニアリングマネージャー(EM)の役割 / Role of the Engineering Manager in Product Development
44aki
0
110
MVP開発とWhy,What,Howの考え方 / MVP Development and the why, what, how concept
44aki
0
150
Featured
See All Featured
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
210
Six Lessons from altMBA
skipperchong
29
4.3k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
450
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
610
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
150
Testing 201, or: Great Expectations
jmmastey
46
8.2k
GitHub's CSS Performance
jonrohan
1033
470k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1k
WCS-LA-2024
lcolladotor
0
680
Crafting Experiences
bethany
1
210
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.8k
Transcript
Dev Containerを使ってみよう Let's try Dev Container!
h Development ContainerのP h 開発環境をまるっとコンテナ化できるので、ローカル環境を汚染しな' h ローカルに必要なのはdockerとDev Container対応エディタだ h 元々はVS
Codeの拡張機能だったが、現在はOSS化されて様々なエディタにも対応 Dev Containerって何?
hello_app$ rails devcontainer ... Generating Dev Container with the following
options: app_name: hello_app database: sqlite3 active_storage: true redis: true system_test: true node: false create: .devcontainer create: .devcontainer/devcontainer.json create: .devcontainer/Dockerfile create: .devcontainer/compose.yaml gsub: test/application_system_test_case.rb Rails 7 .2は8/10リリース(現時点でのRails最新ver) Railsでもver7 .2から Dev Containerオプションが追加
Dev Containerの使用方法
VS CodeにDev Containerの拡張機能を追加
VS Codeの左下のアイコンからRemote Windowを表示
Reopen in Containerで開発環境用のコンテナが起動