mirror of
https://github.com/dolthub/dolt.git
synced 2025-12-20 03:38:30 -06:00
Less docker layers and more compact Docker image
This commit is contained in:
@@ -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 && \
|
||||
|
||||
@@ -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 && \
|
||||
|
||||
Reference in New Issue
Block a user