diff --git a/python/Dockerfile b/python/Dockerfile index be4934e07e9e..d262fe3b9591 100644 --- a/python/Dockerfile +++ b/python/Dockerfile @@ -56,25 +56,25 @@ RUN git -c advice.detachedHead=false clone https://github.com/pyenv/pyenv.git -- FROM python-core as python-3.10 RUN pyenv install $PY_3_10 \ - && bash /opt/python/helpers/build_for_version $PY_3_10 \ + && bash /opt/python/helpers/build $PY_3_10 \ && cd /usr/local/.pyenv \ && tar czf 3.10.tar.gz versions/$PY_3_10 FROM python-core as python-3.9 RUN pyenv install $PY_3_9 \ - && bash /opt/python/helpers/build_for_version $PY_3_9 \ + && bash /opt/python/helpers/build $PY_3_9 \ && cd /usr/local/.pyenv \ && tar czf 3.9.tar.gz versions/$PY_3_9 FROM python-core as python-3.8 RUN pyenv install $PY_3_8 \ - && bash /opt/python/helpers/build_for_version $PY_3_8 \ + && bash /opt/python/helpers/build $PY_3_8 \ && cd /usr/local/.pyenv \ && tar czf 3.8.tar.gz versions/$PY_3_8 FROM python-core as python-3.7 RUN pyenv install $PY_3_7 \ - && bash /opt/python/helpers/build_for_version $PY_3_7 \ + && bash /opt/python/helpers/build $PY_3_7 \ && cd /usr/local/.pyenv \ && tar czf 3.7.tar.gz versions/$PY_3_7 @@ -125,7 +125,7 @@ ENV DEPENDABOT_NATIVE_HELPERS_PATH="/opt" RUN git -c advice.detachedHead=false clone https://github.com/pyenv/pyenv.git --branch $PYENV_VERSION --single-branch --depth=1 /usr/local/.pyenv RUN pyenv install $PY_3_11 \ && pyenv global $PY_3_11 \ - && bash /opt/python/helpers/build_for_version $PY_3_11 + && bash /opt/python/helpers/build $PY_3_11 COPY --from=python-3.10 /usr/local/.pyenv/3.10.tar.gz /usr/local/.pyenv/3.10.tar.gz COPY --from=python-3.9 /usr/local/.pyenv/3.9.tar.gz /usr/local/.pyenv/3.9.tar.gz diff --git a/python/helpers/build_for_version b/python/helpers/build similarity index 100% rename from python/helpers/build_for_version rename to python/helpers/build