From 4d6b46032f6051e548d2c1624d1cce17963b297f Mon Sep 17 00:00:00 2001 From: Kevin Ard Date: Fri, 9 Oct 2020 12:58:26 -0400 Subject: [PATCH] more appropriate deploy img; other size mgmt; --- sqlite3.Dockerfile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/sqlite3.Dockerfile b/sqlite3.Dockerfile index ee66a12..b387e8c 100644 --- a/sqlite3.Dockerfile +++ b/sqlite3.Dockerfile @@ -5,10 +5,15 @@ WORKDIR /app RUN apt-get install make && make build-sqlite3 #---------------------------- -FROM golang:1.15-buster +FROM debian:buster # install sqlite -RUN apt-get update && apt-get install sqlite3 && rm -rf /var/lib/apt/lists/* +RUN apt-get update && \ + apt-get install -y --no-install-recommends \ + sqlite3 ca-certificates && \ + apt-get autoremove && \ + apt-get purge && \ + rm -rf /var/lib/apt/lists/* WORKDIR /app