xref: /aosp_15_r20/external/cronet/third_party/protobuf/kokoro/linux/dockerfile/test/java_stretch/Dockerfile (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
1# Despite the name of this image, we are no longer on stretch.
2# We should consider renaming this image, and/or evaluating what
3# software versions we actually need.
4FROM debian:bullseye
5
6# Install dependencies.  We start with the basic ones required to build protoc
7# and the C++ build
8RUN apt-get update && apt-get install -y \
9  autoconf \
10  autotools-dev \
11  build-essential \
12  bzip2 \
13  ccache \
14  cmake \
15  curl \
16  gcc \
17  git \
18  libc6 \
19  libc6-dbg \
20  libc6-dev \
21  libgtest-dev \
22  libtool \
23  make \
24  parallel \
25  pkg-config \
26  time \
27  wget \
28  # Java dependencies
29  maven \
30  openjdk-11-jdk \
31  openjdk-17-jdk \
32  # Required for the gtest build.
33  python2 \
34  # Python dependencies
35  python3-dev \
36  python3-setuptools \
37  python3-pip \
38  python3-venv \
39  && apt-get clean
40