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
youyo
October 15, 2018
Technology
0
200
GCRと脆弱性検査
GCRと脆弱性検査
youyo
October 15, 2018
Tweet
Share
More Decks by youyo
See All by youyo
家の快適度を計測してみた
youyo
1
190
Get started AWS CDK
youyo
0
100
Tried to create a deployment pipeline of AutoML Vision.
youyo
0
73
API GatewayのWebSocket対応について
youyo
0
800
goodbye-ec2
youyo
0
660
それでも僕はzabbixと生きていく
youyo
1
470
About AWS Lambda and kintone
youyo
1
260
TerraformとWerckerとAWS Organizationsで始めるステージング・開発環境構築 / terraform-wercker-aws-organizations
youyo
1
34k
ServerlessのおさらいとIronFunctionsについて
youyo
0
440
Other Decks in Technology
See All in Technology
白金鉱業Meetup_Vol.18_生成AIはデータサイエンティストを代替するのか?
brainpadpr
4
240
Serverlessだからこそコードと設計にはこだわろう
kenichirokimura
2
530
AIエージェント開発手法と業務導入のプラクティス
ykosaka
9
2.7k
Previewでもここまで追える! Azure AI Foundryで始めるLLMトレース
tomodo_ysys
2
430
MySQL Indexes and Histograms – How they really speed up your queries
lefred
0
150
OPENLOGI Company Profile for engineer
hr01
1
26k
Azure & DevSecOps
kkamegawa
2
160
正式リリースされた Semantic Kernel の Agent Framework 全部紹介!
okazuki
1
790
LINE 購物幕後推手
line_developers_tw
PRO
0
400
Computer Use〜OpenAIとAnthropicの比較と将来の展望〜
pharma_x_tech
6
990
MySQL InnoDB Data Recovery - The Last Resort
lefred
0
110
LangfuseではじめるAIアプリのLLMトレーシング
codenote
0
120
Featured
See All Featured
Adopting Sorbet at Scale
ufuk
76
9.3k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
30
2k
4 Signs Your Business is Dying
shpigford
183
22k
Facilitating Awesome Meetings
lara
54
6.3k
The Language of Interfaces
destraynor
158
25k
A Modern Web Designer's Workflow
chriscoyier
693
190k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
12k
VelocityConf: Rendering Performance Case Studies
addyosmani
329
24k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
45
9.5k
How GitHub (no longer) Works
holman
314
140k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
129
19k
GraphQLとの向き合い方2022年版
quramy
46
14k
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 たぶんそんなにお金かからないし, とりあえず始めてみよう