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
GCRと脆弱性検査
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
youyo
October 15, 2018
Technology
240
0
Share
GCRと脆弱性検査
GCRと脆弱性検査
youyo
October 15, 2018
More Decks by youyo
See All by youyo
家の快適度を計測してみた
youyo
1
230
Get started AWS CDK
youyo
0
150
Tried to create a deployment pipeline of AutoML Vision.
youyo
0
110
API GatewayのWebSocket対応について
youyo
0
950
goodbye-ec2
youyo
0
820
それでも僕はzabbixと生きていく
youyo
1
510
About AWS Lambda and kintone
youyo
1
300
TerraformとWerckerとAWS Organizationsで始めるステージング・開発環境構築 / terraform-wercker-aws-organizations
youyo
1
34k
ServerlessのおさらいとIronFunctionsについて
youyo
0
490
Other Decks in Technology
See All in Technology
データ定義の混乱と戦う 〜 管理会計と財務会計 〜
wonohe
0
110
エージェントスキルを作って自分のインプットに役立てよう
tsubakimoto_s
0
420
20年前の「OSS革命」に学ぶ AI時代の生存戦略
samakada
0
460
[OpsJAWS 40]リリースしたら終わり、じゃなかった。セキュリティ空白期間をAWS Security Agentで埋める
sh_fk2
3
240
運用システムにおけるデータ活用とPlatform
sansantech
PRO
0
120
UIライブラリに依存しすぎないReact Native設計を目指して
grandbig
0
110
AgentCore×VPCでの設計パターンn選と勘所
har1101
3
290
EBS暗号化に失敗してEC2が動かなくなった話
hamaguchimmm
2
210
コードや知識を組み込む / Incorporate Code and Knowledge
ks91
PRO
0
170
The Journey of Box Building
tagomoris
4
3.2k
Practical TypeProf: Lessons from Analyzing Optcarrot
mame
0
760
Pure Intonation on Browser: Building a Sequencer with Ruby
nagachika
0
150
Featured
See All Featured
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
170
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
180
The Mindset for Success: Future Career Progression
greggifford
PRO
0
310
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
180
Facilitating Awesome Meetings
lara
57
6.8k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
190
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Believing is Seeing
oripsolob
1
110
Product Roadmaps are Hard
iamctodd
PRO
55
12k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
170
Rails Girls Zürich Keynote
gr2m
96
14k
Building an army of robots
kneath
306
46k
Transcript
GCRと脆弱性検査
GCR? Google Container Registory Dockerhubみたいなもの 脆弱性検査 Container Registry 脆弱性スキャン まだアルファ版
ubuntu, debian, alpine https://cloud.google.com/container‑registry/docs/vulnerability‑ scanning?authuser=0&hl=ja
FROM debian LABEL maintainer "youyo <
[email protected]
>" RUN apt update -y
RUN apt install apache2 -y EXPOSE 80/TCP ENTRYPOINT ["apachectl","-k","start","-D","FOREGROUND"] $ docker build -t ¥ asia.gcr.io/any-applications/httpd:latest . $ gcloud auth configure-docker $ docker push asia.gcr.io/any-applications/httpd:latest
None
FROM alpine LABEL maintainer "youyo <
[email protected]
>" RUN apk add --update
apache2 RUN mkdir /run/apache2 EXPOSE 80/TCP ENTRYPOINT ["httpd", "-DFOREGROUND"] $ docker build -t ¥ asia.gcr.io/any-applications/httpd:alpine alpine/ $ gcloud auth configure-docker $ docker push asia.gcr.io/any-applications/httpd:alpine
None
まとめ コンテナイメージも脆弱性検査をする時代 最適化されたベースイメージを使用するだけで脆弱性を減らせる https://github.com/GoogleContainerTools/distroless たぶんそんなにお金かからないし, とりあえず始めてみよう