Skip to content

Commit c9a38c9

Browse files
committed
Try preventing docker layer caching from skipping apt-get update
1 parent a59dd44 commit c9a38c9

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Dockerfile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,12 @@ ARG VERSION
66

77
WORKDIR /build
88

9-
RUN apt-get update
10-
RUN apt-get install -y git clang cmake libsnappy-dev
9+
# RUN apt-get update
10+
# RUN apt-get install -y git clang cmake libsnappy-dev
11+
12+
RUN apt-get update && \
13+
apt-get install -y --no-install-recommends git clang cmake libsnappy-dev && \
14+
rm -rf /var/lib/apt/lists/*
1115

1216
RUN git clone --branch $VERSION https://github.com/romanz/electrs .
1317

0 commit comments

Comments
 (0)