Less docker layers and more compact Docker image

This commit is contained in:
Yevhen Pavlov
2024-02-18 17:49:26 +02:00
parent f754983d4e
commit 1dcd1e6084
2 changed files with 8 additions and 6 deletions

View File

@@ -6,9 +6,10 @@ ARG BUILDARCH
RUN apt update -y && \
apt install -y \
tini
RUN apt-get update -y && apt-get install -y ca-certificates
tini \
ca-certificates && \
apt clean && \
rm -rf /var/lib/apt/lists/*
ADD https://github.com/dolthub/dolt/releases/download/v${DOLT_VERSION}/dolt-linux-${BUILDARCH}.tar.gz dolt-linux-${BUILDARCH}.tar.gz
RUN tar zxvf dolt-linux-${BUILDARCH}.tar.gz && \

View File

@@ -6,9 +6,10 @@ ARG BUILDARCH
RUN apt update -y && \
apt install -y \
tini
RUN apt-get update -y && apt-get install -y ca-certificates
tini \
ca-certificates && \
apt clean && \
rm -rf /var/lib/apt/lists/*
ADD https://github.com/dolthub/dolt/releases/download/v${DOLT_VERSION}/dolt-linux-${BUILDARCH}.tar.gz dolt-linux-${BUILDARCH}.tar.gz
RUN tar zxvf dolt-linux-${BUILDARCH}.tar.gz && \