From 86d45be33862d9d14a52b0ed764a007e7d61446a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frederik=20Sch=C3=B6ll?= Date: Wed, 19 Jun 2024 17:35:55 +0200 Subject: [PATCH] move to distroless image --- Dockerfile | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1ef6b25..3ecbbdd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,4 @@ -FROM ubuntu:22.04 - -RUN DEBIAN_FRONTEND=noninteractive apt-get update && \ - apt-get -y install -y \ - ca-certificates libssl1.1 vim htop iotop sysstat \ - dstat strace lsof curl jq tzdata && \ - rm -rf /var/cache/apt /var/lib/apt/lists/* - -RUN rm /etc/localtime && ln -snf /usr/share/zoneinfo/America/Montreal /etc/localtime && dpkg-reconfigure -f noninteractive tzdata +FROM gcr.io/distroless/base-debian12:latest ADD /substreams-sink-sql /app/substreams-sink-sql