#1682·AgentGPT

Docker build fails because python:3.11-slim-buster is deprecated and openjdk-11-jdk cannot be installed.

Author: milkfish033Created Nov 17, 2025Updated Nov 17, 2025
Labelsbug

Please check that this issue hasn't been reported before.

  • I searched previous Bug Reports didn't find any similar reports.

Expected Behavior

Docker build fails because python:3.11-slim-buster is deprecated and openjdk-11-jdk cannot be installed.

Current behaviour

error message: target platform: failed to solve: process "/bin/sh -c apt-get update && apt-get install -y default-libmysqlclient-dev gcc pkg-config openjdk-11-jdk build-essential && rm -rf /var/lib/apt/lists/*" did not complete successfully: exit code: 100

Steps to reproduce

execute ./setup.sh select Docker method

Possible solution

Changed:

FROM python:3.11-slim-buster as prod

To:

FROM python:3.11-slim-bookworm as prod

Replaced unavailable Java 11 with Java 17

Updated the install block:

RUN apt-get update && apt-get install -y
default-libmysqlclient-dev
gcc
pkg-config
openjdk-17-jdk
build-essential
&& rm -rf /var/lib/apt/lists/*

Which Operating Systems are you using?

  • Android
  • iPhone/iPad
  • Linux
  • macOS
  • Windows

Acknowledgements

  • My issue title is concise, descriptive, and in title casing.
  • I have searched the existing issues to make sure this bug has not been reported yet.
  • I am using the latest version of AgentGPT.
  • I have provided enough information for the maintainers to reproduce and diagnose the issue.