Skip to content
Snippets Groups Projects
Unverified Commit 3d55b66e authored by Roman Azarenko's avatar Roman Azarenko
Browse files

Download binary shellcheck from upstream

parent f9ae58ba
No related branches found
No related tags found
No related merge requests found
Pipeline #19216 passed
......@@ -2,7 +2,14 @@ FROM python:3.6-slim
RUN export DEBIAN_FRONTEND=noninteractive && \
apt-get update && \
apt-get -y install bash git shellcheck curl libxml2 libxslt1.1 && \
apt-get -y install bash git curl libxml2 libxslt1.1 xz-utils && \
rm -rf /var/lib/apt/lists/*
RUN pip install -U flake8 pylint lxml ast-to-xml requests
RUN mkdir -p /opt/shellcheck && \
cd /opt/shellcheck && \
curl -LO https://github.com/koalaman/shellcheck/releases/download/v0.7.2/shellcheck-v0.7.2.linux.x86_64.tar.xz && \
tar -xf *.tar.xz --strip-components=1 && \
rm *.tar.xz && \
ln -s /opt/shellcheck/shellcheck /usr/bin
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment