Skip to content

Commit e063714

Browse files
committed
Download heyu .tar instead of .zip
1 parent 847f300 commit e063714

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,8 @@ RUN \
1515
echo "**** get heyu source ****" && \
1616
mkdir -p /build && \
1717
cd /build && \
18-
curl -LsSo heyu.zip https://github.com/HeyuX10Automation/heyu/archive/${GIT_HASH}.zip && \
19-
unzip heyu.zip && \
20-
mv heyu-* heyu && \
21-
cd heyu && \
18+
curl -LsSo heyu.tar.gz https://github.com/HeyuX10Automation/heyu/archive/${GIT_HASH}.tar.gz && \
19+
tar --strip-components=1 -xf heyu.tar.gz && \
2220
echo "**** building heyu ****" && \
2321
./configure --sysconfdir=/config/heyu/ && \
2422
make && \

0 commit comments

Comments
 (0)