File tree Expand file tree Collapse file tree 2 files changed +6
-14
lines changed Expand file tree Collapse file tree 2 files changed +6
-14
lines changed Original file line number Diff line number Diff line change @@ -47,17 +47,13 @@ RUN \
4747 python3 \
4848 sqlite-libs && \
4949 echo "**** install beets ****" && \
50- mkdir -p /tmp/beets && \
5150 if [ -z ${BEETS_VERSION+x} ] ; then \
5251 BEETS_VERSION=$(curl -sX GET "https://api.github.com/repos/beetbox/beets/commits/master" \
5352 | jq -r .sha); \
5453 fi && \
55- curl -o \
56- /tmp/beets.tar.gz -sL \
57- "https://github.com/beetbox/beets/archive/${BEETS_VERSION}.tar.gz" && \
58- tar xf \
59- /tmp/beets.tar.gz -C \
60- /tmp/beets --strip-components=1 && \
54+ git clone https://github.com/beetbox/beets.git /tmp/beets && \
55+ cd /tmp/beets && \
56+ git checkout -f "${BEETS_VERSION}" && \
6157 echo "**** compile mp3gain ****" && \
6258 mkdir -p \
6359 /tmp/mp3gain-src && \
Original file line number Diff line number Diff line change @@ -47,17 +47,13 @@ RUN \
4747 python3 \
4848 sqlite-libs && \
4949 echo "**** install beets ****" && \
50- mkdir -p /tmp/beets && \
5150 if [ -z ${BEETS_VERSION+x} ] ; then \
5251 BEETS_VERSION=$(curl -sX GET "https://api.github.com/repos/beetbox/beets/commits/master" \
5352 | jq -r .sha); \
5453 fi && \
55- curl -o \
56- /tmp/beets.tar.gz -sL \
57- "https://github.com/beetbox/beets/archive/${BEETS_VERSION}.tar.gz" && \
58- tar xf \
59- /tmp/beets.tar.gz -C \
60- /tmp/beets --strip-components=1 && \
54+ git clone https://github.com/beetbox/beets.git /tmp/beets && \
55+ cd /tmp/beets && \
56+ git checkout -f "${BEETS_VERSION}" && \
6157 echo "**** compile mp3gain ****" && \
6258 mkdir -p \
6359 /tmp/mp3gain-src && \
You can’t perform that action at this time.
0 commit comments