musl/arm64: decompression before use the tarball.

In the last fix, the decompression ops is deleted by mistake and need
add it back.

Fixes: #1490
Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
This commit is contained in:
Jianyong Wu 2021-03-04 10:00:40 +08:00
parent ed3cb9bfa8
commit f580d33cc9

View File

@ -285,7 +285,8 @@ ENV PATH=\$PATH:\$GOROOT/bin:\$GOPATH/bin
RUN cd /tmp; \
mkdir -p /usr/local/musl/; \
if curl -sLO --fail https://musl.cc/${musl_tar}; then \
cp -r ${musl_dir}/* /usr/local/musl/; \
tar -zxf ${musl_tar}; \
cp -r ${musl_dir}/* /usr/local/musl/; \
else \
git clone ${musl_source_url}; \
TARGET=${aarch64_musl_target} make -j$(nproc) -C ${musl_source_dir} install; \