mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-18 04:49:55 +00:00
Stop installing Python in build container
Scope itself doesn't have any Python code. Disable Python test scheduler in CI - we set parallelism=1 so no point scheduling
This commit is contained in:
@@ -4,9 +4,9 @@ RUN set -eux; \
|
||||
export arch_val="$(dpkg --print-architecture)"; \
|
||||
apt-get update && \
|
||||
if [ "$arch_val" = "amd64" ]; then \
|
||||
apt-get install -y libpcap-dev time file shellcheck git gcc-arm-linux-gnueabihf curl build-essential python-pip; \
|
||||
apt-get install -y libpcap-dev time file shellcheck git gcc-arm-linux-gnueabihf curl build-essential; \
|
||||
else \
|
||||
apt-get install -y libpcap-dev time file shellcheck git curl build-essential python-pip; \
|
||||
apt-get install -y libpcap-dev time file shellcheck git curl build-essential; \
|
||||
fi; \
|
||||
\
|
||||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||
@@ -36,8 +36,6 @@ RUN export arch_val="$(dpkg --print-architecture)"; \
|
||||
mv shfmt /usr/bin; \
|
||||
fi;
|
||||
|
||||
RUN pip install yapf==0.16.2 flake8==3.3.0 requests==2.19.1
|
||||
|
||||
# Install Docker (client only)
|
||||
ENV DOCKERVERSION=17.09.1-ce
|
||||
RUN export arch_val="$(dpkg --print-architecture)"; \
|
||||
|
||||
Reference in New Issue
Block a user