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
1.2k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
GitHub Codespacesで 開発環境を共有しよう
第5回 沖テクNight〜インフラ領域へ潜水!〜 で発表したもの。
https://caadvance.connpass.com/event/286486/
高江洲順八
June 29, 2023
Other Decks in Programming
See All in Programming
高専、大学編入、そして未踏へ〜プロダクト開発とキャリアの歩み - Technical College, University Transfer, and On to “Mitou” / My Journey in Product Development and Career
pkmiya
0
110
Jindong: Introducing Declarative Haptics in Compose Multiplatform
l2hyunwoo
0
130
<title><a id="</title>君はこのHTMLをパースできるか"></a></title> #雑LT_study
pizzacat83
0
190
承認済みなのに差戻しできてしまうバグ、型で潰せます
shinchit
0
120
片田舎のおっさん、 Swift Buildのダイアモンド問題解決の不具合修正PRを出すが、解決方法がキャッシュをしないようにすることであり、ビルド時間が伸びると言われてマージされないので高速化もする/swiftbuild
yimajo
0
320
AWS Transform Customによる Spring Boot 2.xから4.xへのVerUp
satoshi256kbyte
2
110
VibeCodingからAgenticWorkflowへ
starfish719
0
950
Claude CodeとAgentCore Gatewayを繋ぐ際の認証認可 / Authentication and authorization when connecting Claude Code with AgentCore Gateway
har1101
2
400
楽しそうなつよつよエンジニアと目が死んでる僕/A brilliant engineer having a blast, and dead-eyed me.
3l4l5
2
260
不幸な GC
chencmd
0
820
わからない話を追いかけたら、プログラミング言語を作る側にいた
ydah
3
570
仕様書を書く前にハーネスを作る - Agent Native開発は「探索を速く、判定を固く」
gotalab555
5
1.8k
Featured
See All Featured
Making the Leap to Tech Lead
cromwellryan
135
10k
The World Runs on Bad Software
bkeepers
PRO
72
12k
Why Our Code Smells
bkeepers
PRO
340
58k
Rails Girls Zürich Keynote
gr2m
96
14k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.7k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.2k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
450
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.3k
Writing Fast Ruby
sferik
630
63k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
270
Git: the NoSQL Database
bkeepers
PRO
432
67k
Optimizing for Happiness
mojombo
378
71k
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