File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -29,9 +29,13 @@ RUN apt-get update && \
2929 python-matplotlib \
3030 automake locales clang-format swig \
3131 liblapack-dev liblapacke-dev \
32- net-tools libtool module-init-tools shellcheck && \
32+ net-tools libtool module-init-tools && \
3333 apt-get clean -y
3434
35+ RUN wget https://github.com/koalaman/shellcheck/releases/download/v0.7.1/shellcheck-v0.7.1.linux.x86_64.tar.xz -O shellcheck-v0.7.1.linux.x86_64.tar.xz && \
36+ tar -xf shellcheck-v0.7.1.linux.x86_64.tar.xz && cp shellcheck-v0.7.1/shellcheck /usr/bin/shellcheck && \
37+ rm -rf shellcheck-v0.7.1.linux.x86_64.tar.xz shellcheck-v0.7.1
38+
3539# Downgrade gcc&&g++
3640<install_gcc>
3741
Original file line number Diff line number Diff line change @@ -26,7 +26,11 @@ RUN rm -rf /temp_gcc82 && rm -rf /gcc-8.2.0.tar.xz && rm -rf /gcc-8.2.0
2626RUN apt-get update && \
2727 apt-get install -y make build-essential libssl-dev zlib1g-dev libbz2-dev \
2828 libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev \
29- xz-utils tk-dev libffi-dev liblzma-dev openmpi-bin openmpi-doc libopenmpi-dev shellcheck
29+ xz-utils tk-dev libffi-dev liblzma-dev openmpi-bin openmpi-doc libopenmpi-dev
30+
31+ RUN wget https://github.com/koalaman/shellcheck/releases/download/v0.7.1/shellcheck-v0.7.1.linux.x86_64.tar.xz -O shellcheck-v0.7.1.linux.x86_64.tar.xz && \
32+ tar -xf shellcheck-v0.7.1.linux.x86_64.tar.xz && cp shellcheck-v0.7.1/shellcheck /usr/bin/shellcheck && \
33+ rm -rf shellcheck-v0.7.1.linux.x86_64.tar.xz shellcheck-v0.7.1
3034
3135# gcc8.2
3236RUN wget -q https://paddle-docker-tar.bj.bcebos.com/home/users/tianshuo/bce-python-sdk-0.8.27/gcc-8.2.0.tar.xz && \
You can’t perform that action at this time.
0 commit comments