docker: run get-secret.py with python3

This commit is contained in:
Julien Cristau 2022-02-02 17:13:55 +01:00 committed by mergify[bot]
parent b230c39a7f
commit c56d2d6926
3 changed files with 5 additions and 9 deletions

View File

@ -34,9 +34,8 @@ RUN apt-get update -qq \
expect \ expect \
git \ git \
curl \ curl \
python \
python-pip \
python3 \ python3 \
python3-pip \
python3-yaml \ python3-yaml \
locales \ locales \
tzdata \ tzdata \
@ -44,9 +43,8 @@ RUN apt-get update -qq \
mercurial \ mercurial \
&& apt-get clean && apt-get clean
RUN pip install --upgrade pip RUN pip3 install --upgrade pip
# TODO update to python3 so we can use newer taskcluster RUN pip install taskcluster
RUN pip install taskcluster==44.2.2
RUN locale-gen "$LANG" RUN locale-gen "$LANG"

View File

@ -10,9 +10,7 @@ RUN apt-get update -qq && \
imagemagick \ imagemagick \
pyssim \ pyssim \
python \ python \
python-pil \ python-pil
python3 \
python3-pip
WORKDIR /builds/worker WORKDIR /builds/worker

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3
# This Source Code Form is subject to the terms of the Mozilla Public # This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this # License, v. 2.0. If a copy of the MPL was not distributed with this