Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating the docker image to use Ubuntu 24.04 from 22.04 #1445

Open
pshipton opened this issue Oct 29, 2024 · 0 comments
Open

Updating the docker image to use Ubuntu 24.04 from 22.04 #1445

pshipton opened this issue Oct 29, 2024 · 0 comments

Comments

@pshipton
Copy link
Member

pshipton commented Oct 29, 2024

Testing of #1323 to bump the docker image from using an Ubuntu 22.04 base to use 24.04 ran into the following:

Error: error building at STEP "RUN apt-get update && apt-get install -y --no-install-recommends python3 python3-dev python3-pip git openjdk-11-jdk zip && DEBIAN_FRONTEND="noninteractive" apt-get -q upgrade -y -o Dpkg::options::="--force-confnew" --no-install-recommends && DEBIAN_FRONTEND="noninteractive" apt-get -q install -y -o Dpkg::options::="--force-confnew" --no-install-recommends openssh-server && rm -rf /var/lib/apt/lists/* && sed -i 's|session required pam_loginuid.so|session optional pam_loginuid.so|g' /etc/pam.d/sshd && mkdir -p /var/run/sshd && pip3 install -U pip && pip3 install virtualenv && virtualenv myenv -p python3": error while running runtime: exit status 1

error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
  python3-xyz, where xyz is the package you are trying to
  install.

  If you wish to install a non-Debian-packaged Python package,
  create a virtual environment using python3 -m venv path/to/venv.
  Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
  sure you have python3-full installed.

  If you wish to install a non-Debian packaged Python application,
  it may be easiest to use pipx install xyz, which will manage a
  virtual environment for you. Make sure you have pipx installed.

  See /usr/share/doc/python3.12/README.venv for more information.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant