Skip to content
Myr

[dockerfile] Remove ShellCheck Segmentation fault workaround

Before adoption: this commit came in with the history the project adopted, so no landing records it.

The workaround came from this GitHub issue comment: https://github.com/koalaman/shellcheck/issues/1053#issuecomment-357816927 Looks like the problem doesn't exist any more: ``` . . . Step 14/33 : RUN shellcheck -V ---> Running in 4b7a718c1cbf ShellCheck - shell script analysis tool version: 0.7.0 license: GNU General Public License, version 3 website: https://www.shellcheck.net . . . ``` The workaround should be removed so that the Dockerfile will be easier to be understand and read.

authored by Peter Dave Hello · committed by Jordan Harband · parent 22e07cc · Browse files · 1 file+2 added−4 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−4 removed

  • other:+2 added−4 removed

1 file+2 added−4 removed

modified:Dockerfile+2 added-4 removed
67 unmodified lines
68# ShellCheck with Ubuntu 14.04 container workaround69RUN wget https://storage.googleapis.com/shellcheck/shellcheck-v$SHELLCHECK_VERSION.linux.x86_64.tar.xz -O- | \70 tar xJvf - shellcheck-v$SHELLCHECK_VERSION/shellcheck && \71 mv shellcheck-v$SHELLCHECK_VERSION/shellcheck /bin && \72 rmdir shellcheck-v$SHELLCHECK_VERSION && \73 touch /tmp/libc.so.6 && \74 echo "alias shellcheck='LD_LIBRARY_PATH=/tmp /bin/shellcheck'" >> /etc/bash.bashrc75RUN LD_LIBRARY_PATH=/tmp shellcheck -V72 rmdir shellcheck-v$SHELLCHECK_VERSION73RUN shellcheck -V7475# Set locale76RUN locale-gen en_US.UTF-877
37 unmodified lines