Skip to content
This repository has been archived by the owner on Apr 15, 2020. It is now read-only.

Commit

Permalink
Correctly install flake8 on Python 3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
messense committed Apr 17, 2017
1 parent 70760c5 commit 0525c03
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ RUN echo 'deb http://ppa.launchpad.net/fkrull/deadsnakes/ubuntu xenial main' > /
python-pkg-resources \
python3 \
python3-dev \
python3-pip \
python3.6 \
python3.6-dev \
git \
libssl-dev \
openssh-client \
libre2-dev \
&& curl -sSL https://bootstrap.pypa.io/get-pip.py | python3.5 \
&& curl -sSL https://bootstrap.pypa.io/get-pip.py | python3.6 \
&& pip2 install -U pip setuptools wheel \
&& python3.6 -m pip install -U pip setuptools wheel cython \
Expand All @@ -42,9 +42,9 @@ RUN curl -sL https://deb.nodesource.com/setup_6.x | bash - \
eslint-plugin-react eslint-plugin-react-native \
babel-eslint

RUN pip2 install -U flake8 pep8 pep8-naming pylint flake8-import-order && \
pip3 install -U flake8 pep8 pep8-naming pylint flake8-import-order && \
python3.6 -m pip install -U badwolf \
RUN pip2 install -U flake8 pep8 pep8-naming pylint flake8-import-order \
&& python3.5 -m pip install -U flake8 pep8 pep8-naming pylint flake8-import-order \
&& python3.6 -m pip install -U badwolf \
&& rm -rf /var/lib/apt/list/* /tmp/* /var/tmp/*

EXPOSE 8000
Expand Down
8 changes: 4 additions & 4 deletions src.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ RUN echo 'deb http://ppa.launchpad.net/fkrull/deadsnakes/ubuntu xenial main' > /
python-pkg-resources \
python3 \
python3-dev \
python3-pip \
python3.6 \
python3.6-dev \
git \
libssl-dev \
openssh-client \
libre2-dev \
&& curl -sSL https://bootstrap.pypa.io/get-pip.py | python3.5 \
&& curl -sSL https://bootstrap.pypa.io/get-pip.py | python3.6 \
&& pip2 install -U pip setuptools wheel \
&& python3.6 -m pip install -U pip setuptools wheel cython \
Expand All @@ -46,9 +46,9 @@ RUN curl -sL https://deb.nodesource.com/setup_6.x | bash - \
eslint-plugin-react eslint-plugin-react-native \
babel-eslint

RUN pip2 install -U flake8 pep8 pep8-naming pylint flake8-import-order && \
pip3 install -U flake8 pep8 pep8-naming pylint flake8-import-order && \
pip3 install -Ur requirements.txt \
RUN pip2 install -U flake8 pep8 pep8-naming pylint flake8-import-order \
&& python3.5 -m pip install -U flake8 pep8 pep8-naming pylint flake8-import-order \
&& python3.6 -m pip install -Ur requirements.txt \
&& python3.6 -m pip install . \
&& rm -rf /var/lib/apt/list/* /tmp/* /var/tmp/*

Expand Down

0 comments on commit 0525c03

Please sign in to comment.