Skip to content

Commit

Permalink
more appropriate deploy img; other size mgmt;
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Ard committed Oct 9, 2020
1 parent 461b1ce commit 4d6b460
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions sqlite3.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 4d6b460

Please sign in to comment.