Skip to content

Commit

Permalink
switch to searching on os-release (#340)
Browse files Browse the repository at this point in the history
* switch to searching on os-release

* new url, good error msg though
  • Loading branch information
reaperhulk authored Mar 7, 2021
1 parent ba495ec commit 46762a1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions runners/debian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ RUN apt-get -qq update && apt-get install -qq -y \
curl

# Remove when we drop 2.7 support from pyOpenSSL
RUN apt-get -qq update; if grep -q "stretch" /etc/debian_version; then apt-get install -qq -y python-dev; fi
RUN apt-get -qq update; if grep -q "sid" /etc/debian_version; then apt-get install -qq -y python3-distutils; fi
RUN apt-get -qq update; if grep -q "stretch" /etc/os-release; then apt-get install -qq -y python-dev; fi
RUN apt-get -qq update; if grep -q "sid" /etc/os-release; then apt-get install -qq -y python3-distutils; fi

# Remove /3.5/ when we drop stretch!
RUN curl -sSL https://bootstrap.pypa.io/3.5/get-pip.py | python3
RUN curl -sSL https://bootstrap.pypa.io/pip/3.5/get-pip.py | python3

RUN pip install tox coverage

Expand Down

0 comments on commit 46762a1

Please sign in to comment.