From c6eea0503acd633b81e00533ea4b28487243ca33 Mon Sep 17 00:00:00 2001 From: yvanzo Date: Tue, 3 Jul 2018 13:31:30 +0200 Subject: [PATCH] Update yarn apt repository only --- musicbrainz-dockerfile/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/musicbrainz-dockerfile/Dockerfile b/musicbrainz-dockerfile/Dockerfile index 3ff1c4c3..6c12d58e 100644 --- a/musicbrainz-dockerfile/Dockerfile +++ b/musicbrainz-dockerfile/Dockerfile @@ -28,7 +28,7 @@ RUN cd musicbrainz-server && \ cd /tmp && \ apt-key add yarn_pubkey.txt && \ echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \ - apt-get update && \ + apt-get update -o Dir::Etc::sourcelist="sources.list.d/yarn.list" -o Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup="0" && \ curl -sLO https://deb.nodesource.com/node_8.x/pool/main/n/nodejs/nodejs_8.11.3-1nodesource1_amd64.deb && \ dpkg -i nodejs_8.11.3-1nodesource1_amd64.deb && \ apt-get install -y yarn