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
GitHub Codespacesで 開発環境を共有しよう
Search
高江洲順八
June 29, 2023
Programming
0
620
GitHub Codespacesで 開発環境を共有しよう
第5回 沖テクNight〜インフラ領域へ潜水!〜 で発表したもの。
https://caadvance.connpass.com/event/286486/
高江洲順八
June 29, 2023
Tweet
Share
Other Decks in Programming
See All in Programming
MLOps in Mercari Group’s Trust and Safety ML Team
cjhj
1
130
組織に自動テストを書く文化を根付かせる戦略(2024秋版) / Building Automated Test Culture 2024 Autumn Edition
twada
PRO
3
1k
自分だけの世界を創るクリエイティブコーディング / Creative Coding: Creating Your Own World
chobishiba
2
2k
20241004 モノタロウ式~ドメインモデリングとリアーキテクチャ
monotaro
PRO
2
480
型付きで行うVSCode拡張機能開発 / VSCode Meetup #31
mazrean
0
250
Successful with Signals: 3 Rules for Your Architecture
manfredsteyer
PRO
0
110
ML-прайсинг_на_Lamoda__вошли_и_вышли__приключение_на_20_минут__Слава_Цыганков.pdf
lamodatech
0
330
実務未経験からいち早く戦力化するための新人エンジニア育成術 ~ 具体的な方法と育成する側の心得 ~
juri_matsuda
0
120
LangChain & LangServeでAPIを爆速作成
kijitorabuti
2
320
実践サーバーレスパフォーマンスチューニング ~その実力に迫る~ / Practical Serverless Performance Tuning ~A Close Look at its Power~
seike460
PRO
2
210
perl for shell, awk and sed programmers
mackee
2
870
コードレビューと私の過去と未来
jxmtst
0
310
Featured
See All Featured
Speed Design
sergeychernyshev
23
540
Clear Off the Table
cherdarchuk
91
320k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
167
49k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
92
16k
What's in a price? How to price your products and services
michaelherold
243
11k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
28
7.5k
Debugging Ruby Performance
tmm1
73
12k
Robots, Beer and Maslow
schacon
PRO
157
8.2k
Typedesign – Prime Four
hannesfritz
39
2.3k
Infographics Made Easy
chrislema
239
18k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
355
29k
Transcript
GitHub Codespacesで 開発環境を共有しよう ㈱ 技術統括本部 高江洲 順八(たかえす じゅんや)
自己紹介 高江洲 順八(たかえす じゅんや) • 技術統括本部所属 • メール管理サービスの保守運用担当 • 普段は
とか をよく使う • 最近気になる技術: ※ChatGPT
• GitHub Codespaces について ◦ デモ: (爆速)開発環境構築 ◦ 補足情報をお届け 話す内容
GitHub Codespaces とは 引用元: GitHub Codespaces overview - GitHub Docs
https://docs.github.com/en/codespaces/overview
リポジトリ新規作成 https://github.com/new デモ2 デモのリポジトリ https://github.com/takaesu-junya/docker- compose-lamp 例: LAMP スタックを作る デモ1
例: 爆速で汎用的な 開発環境を用意する
解決できる課題 • プログラミング言語や、ツールを個別にイン ストールする必要が無くなる • 開発者ごとの環境差異による問題の発生が防 げる → 開発者体験の質が爆上がり📈🚀
その他活用法 勉強会用のリポジトリを Codespaces で用意する • Codespaces には無料利用枠があるので、誰でも気 軽に使える • Github
リポジトリのページから1クリックで環境 つくれる →環境構築で、躓く人を無くす🐣
その他いろいろ気になること
料金は? • 無料・有料アカウントどちらも、無料利用枠有り • クレカ登録無しで、気軽にできる ◦ ただし、無料利用枠を超えると、当月は利用不可 • ストレージ: ◦
$0.07/GiB/mo. → 100GB の環境なら $7 / 月 • CPU x RAM:
一人当たり、10,000 円くらい? ↓Pricing Calculator を使って試算 https://github.com/pricing/calculator
最小スペック(2 cpu core) なら、毎月 60h 分の稼働は無料 ※感覚的に、ストレージが上限を迎えるほうが早い もう codespaces 使えない
・・・
引用元: GitHub Codespaces の概要 - GitHub Docs https://docs.github.com/ja/codespaces/overview 未対応OSなど、環境依存はある?
• 色々カスタマイズするなら、devcontainer.json を 書く devcontainer.json は必要? • 必須ではない。無い場合はデフォルトが使われる。 引用元: Introduction
to dev containers - GitHub Docs https://docs.github.com/en/codespaces/setting-up-your-project-for-codespaces/adding-a-dev-container- configuration/introduction-to-dev-containers#using-the-default-dev-container-configuration
ご清聴ありがとうございました
リンク 説明 https://github.com/features/codespaces GitHub Codespaces のホームページ https://docs.github.com/en/codespaces GitHub Codespaces のドキュメント
https://code.visualstudio.com/docs/devcontainers/containers vscode の devcontainers 機能の説明 https://containers.dev/templates devcontainer の使用に特化したイメージ一覧 https://containers.dev/features devcontainer で使用できる features の一覧 https://github.com/takaesu-junya/docker-compose-lamp ただの lamp 環境を作るためだけの codespaces リポジトリ 参考URL