File tree 1 file changed +7
-8
lines changed
1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -23,10 +23,10 @@ RUN apt-get update -q && apt-get -y -q install --no-install-recommends \
23
23
libqt5sql5-sqlite \
24
24
make \
25
25
openssl \
26
- python \
27
- python -pip \
28
- python -setuptools \
29
- python -wheel \
26
+ python3 \
27
+ python3 -pip \
28
+ python3 -setuptools \
29
+ python3 -wheel \
30
30
qt5-default \
31
31
qtdeclarative5-dev \
32
32
qtdeclarative5-qtquick2-plugin \
@@ -38,10 +38,9 @@ RUN apt-get update -q && apt-get -y -q install --no-install-recommends \
38
38
zlib1g-dev \
39
39
&& rm -rf /var/lib/apt/lists/*
40
40
41
- # Install Python packages
42
- RUN pip install \
43
- "future==0.17.1" \
44
- "flake8==3.7.7"
41
+ # Set Python3 as default Python version
42
+ RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 100
43
+ RUN update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 100
45
44
46
45
# LibrePCB's unittests expect that there is a USERNAME environment variable
47
46
ENV USERNAME="root"
You can’t perform that action at this time.
0 commit comments