Skip to content

Building a Dockerfile on 3.12.0 #4352

@Sharpz7

Description

@Sharpz7
2021-10-13 13:00:54 (90.0 MB/s) - ‘Python-3.9.1.tgz’ saved [25372998/25372998]

ls: cannot access '.': Operation not permitted
configure: error: working directory cannot be determined
The command '/bin/sh -c apt-get install -y     build-essential     zlib1g-dev     libncurses5-dev     libgdbm-dev     libnss3-dev     libssl-dev     libsqlite3-dev     libreadline-dev     libffi-dev     curl     libbz2-dev &&    wget https://www.python.org/ftp/python/3.9.1/Python-3.9.1.tgz &&    tar -xf Python-3.9.1.tgz &&    cd Python-3.9.1 &&    ./configure --enable-optimizations &&    make -j 2 &&    sudo make altinstall' returned a non-zero code: 2

Exited with code exit status 2

This is the error when trying to run the following command in a dockerfile. The user is set to root, with no workdir specified. Any Ideas?

The Dockerfile correctly builds on 3.11.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    waiting-for-infoWaiting for more information from submitter

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions