diff --git a/templates/tools/dockerfile/test/rbe_ubuntu2004/Dockerfile.template b/templates/tools/dockerfile/test/rbe_ubuntu2204/Dockerfile.template similarity index 96% rename from templates/tools/dockerfile/test/rbe_ubuntu2004/Dockerfile.template rename to templates/tools/dockerfile/test/rbe_ubuntu2204/Dockerfile.template index 5c9d8e0371d..2a1097d208c 100644 --- a/templates/tools/dockerfile/test/rbe_ubuntu2004/Dockerfile.template +++ b/templates/tools/dockerfile/test/rbe_ubuntu2204/Dockerfile.template @@ -14,9 +14,9 @@ # See the License for the specific language governing permissions and # limitations under the License. - FROM ubuntu:20.04 + FROM ubuntu:22.04 - # Workaround the "tzdata hangs apt-get install during docker image build" issue for ubuntu20.04 + # Workaround the "tzdata hangs apt-get install during docker image build" issue for ubuntu22.04 # by setting timezone to "Etc/UTC" in advance. RUN echo "Etc/UTC" > /etc/timezone @@ -35,7 +35,7 @@ # * for sanitizers to work, we need MSAN and TSAN enabled versions of libc++ # Check https://storage.googleapis.com/clang-builds-stable/clang-ubuntu20_04/latest.txt # for the value of LLVM_LATEST. - ARG LLVM_LATEST="f2b94bd7eaa83d853dc7568fac87b1f8bf4ddec6" + ARG LLVM_LATEST="f3d0613d852a90563a1e8704930a6e79368f106a" RUN wget -q https://storage.googleapis.com/clang-builds-stable/clang-ubuntu20_04/clang_r<%text>${LLVM_LATEST}.tar.gz -O /tmp/clang.tar.gz ${'\\'} && tar -xzf /tmp/clang.tar.gz -C /usr/local && rm /tmp/clang.tar.gz RUN wget -q https://storage.googleapis.com/clang-builds-stable/clang-ubuntu20_04/libcxx_r<%text>${LLVM_LATEST}.tar.gz -O /tmp/libcxx.tar.gz ${'\\'} diff --git a/tools/bazelify_tests/dockerimage_current_versions.bzl b/tools/bazelify_tests/dockerimage_current_versions.bzl index 322968d9829..25b345c7b3a 100644 --- a/tools/bazelify_tests/dockerimage_current_versions.bzl +++ b/tools/bazelify_tests/dockerimage_current_versions.bzl @@ -34,7 +34,7 @@ DOCKERIMAGE_CURRENT_VERSIONS = { "tools/dockerfile/distribtest/csharp_debian10_x64.current_version": "docker://us-docker.pkg.dev/grpc-testing/testing-images-public/csharp_debian10_x64@sha256:8c3838e731da70566adc6f989f2c29351fdb2f629e8797928699fff24b3a0938", "tools/dockerfile/distribtest/csharp_dotnet31_x64.current_version": "docker://us-docker.pkg.dev/grpc-testing/testing-images-public/csharp_dotnet31_x64@sha256:fee52df6064ff84bc9af644c2ea17ab579de3401e3a167d0d43383c24f0d500f", "tools/dockerfile/distribtest/csharp_dotnet5_x64.current_version": "docker://us-docker.pkg.dev/grpc-testing/testing-images-public/csharp_dotnet5_x64@sha256:408425cd74bb8b79a3b09a64ea6c54f6cdc0e757a3469f31effc017a7187e442", - "tools/dockerfile/distribtest/csharp_ubuntu1604_x64.current_version": "docker://us-docker.pkg.dev/grpc-testing/testing-images-public/csharp_ubuntu1604_x64@sha256:e0f44406df14a28ce0a0f4e26c74c95f0fa5dddadf1fdbb2a3793b7c8ef8fa63", + "tools/dockerfile/distribtest/csharp_ubuntu2204_x64.current_version": "docker://us-docker.pkg.dev/grpc-testing/testing-images-public/csharp_ubuntu2204_x64@sha256:e02f13b01bfa5511c98fdad36a5258576517f4f3b727a88f881b98f4d79d23f5", "tools/dockerfile/distribtest/php7_debian10_x64.current_version": "docker://us-docker.pkg.dev/grpc-testing/testing-images-public/php7_debian10_x64@sha256:e760a60f2dce2dada571d9b07447a9f99ffeeb366a309dbbb5dc0a43991c22dc", "tools/dockerfile/distribtest/python_alpine_x64.current_version": "docker://us-docker.pkg.dev/grpc-testing/testing-images-public/python_alpine_x64@sha256:699ac7b86199406fa27e88f30a1c623ef34ac33f6d9330fd13a6f6457ee4e19f", "tools/dockerfile/distribtest/python_arch_x64.current_version": "docker://us-docker.pkg.dev/grpc-testing/testing-images-public/python_arch_x64@sha256:2c1adadeb010e107132cf5137f32a2d18727796631245b110cc74f69c07502e1", @@ -47,21 +47,21 @@ DOCKERIMAGE_CURRENT_VERSIONS = { "tools/dockerfile/distribtest/python_dev_buster_x86.current_version": "docker://us-docker.pkg.dev/grpc-testing/testing-images-public/python_dev_buster_x86@sha256:179146fd5d5cc15846c6bf0284c2e261f383caf944559d2d9f7a5af0e0f7152d", "tools/dockerfile/distribtest/python_dev_centos7_x64.current_version": "docker://us-docker.pkg.dev/grpc-testing/testing-images-public/python_dev_centos7_x64@sha256:e6e9a1b23a0a543050db91e17d621aa899bad04308adaf961c11fa88ba941a95", "tools/dockerfile/distribtest/python_dev_fedora36_x64.current_version": "docker://us-docker.pkg.dev/grpc-testing/testing-images-public/python_dev_fedora36_x64@sha256:d10ea0c54ecaa861b67942b4adc69178585cd071c9d0c8997fa274a362beea55", - "tools/dockerfile/distribtest/python_dev_ubuntu1604_x64.current_version": "docker://us-docker.pkg.dev/grpc-testing/testing-images-public/python_dev_ubuntu1604_x64@sha256:167134c3a43e7d2608c893cc98a5066eae93c6af97ef5a1e69d643cbc7fefc43", "tools/dockerfile/distribtest/python_dev_ubuntu1804_x64.current_version": "docker://us-docker.pkg.dev/grpc-testing/testing-images-public/python_dev_ubuntu1804_x64@sha256:157a89cd6d0e69b89ac1975e0314aade556a35aafbaa5fe9f9890f90321d6c89", "tools/dockerfile/distribtest/python_dev_ubuntu2004_x64.current_version": "docker://us-docker.pkg.dev/grpc-testing/testing-images-public/python_dev_ubuntu2004_x64@sha256:91f0d88c43ec52ecd63f99acb424c88ff9a67fa046fae207a75e99bee37eef11", + "tools/dockerfile/distribtest/python_dev_ubuntu2204_x64.current_version": "docker://us-docker.pkg.dev/grpc-testing/testing-images-public/python_dev_ubuntu2204_x64@sha256:9e6c9ddc738afcd73fcf2de27b22fdc22a74f1e90e214345838373d9c65ea215", "tools/dockerfile/distribtest/python_fedora36_x64.current_version": "docker://us-docker.pkg.dev/grpc-testing/testing-images-public/python_fedora36_x64@sha256:85b2d2fbbcfc1b995ce3916dcf8240c29dbc72f91bd47f04187c2db008570ba4", "tools/dockerfile/distribtest/python_opensuse_x64.current_version": "docker://us-docker.pkg.dev/grpc-testing/testing-images-public/python_opensuse_x64@sha256:da52566b078d10e537aa219e59641731a57e5dc7d17d6737f5e5a7d447acf5cc", "tools/dockerfile/distribtest/python_python38_buster_aarch64.current_version": "docker://us-docker.pkg.dev/grpc-testing/testing-images-public/python_python38_buster_aarch64@sha256:487b9af2ad1459ee2630694e61074d4ac525d4f90b2bdb026dbf6f77fb3e9878", - "tools/dockerfile/distribtest/python_ubuntu1604_x64.current_version": "docker://us-docker.pkg.dev/grpc-testing/testing-images-public/python_ubuntu1604_x64@sha256:44a821a9f5431122c2e239ba35cf181c2fde84a5d866e8add338599565881492", "tools/dockerfile/distribtest/python_ubuntu1804_x64.current_version": "docker://us-docker.pkg.dev/grpc-testing/testing-images-public/python_ubuntu1804_x64@sha256:edcd5f342d77ad9129cc0a0e6988b47b144815e7a93091d5b45e850111eefbcf", "tools/dockerfile/distribtest/python_ubuntu2004_x64.current_version": "docker://us-docker.pkg.dev/grpc-testing/testing-images-public/python_ubuntu2004_x64@sha256:342e9dc23b674ad256b220745745be818708a1baa25a2690f0d4f777e28a22a3", + "tools/dockerfile/distribtest/python_ubuntu2204_x64.current_version": "docker://us-docker.pkg.dev/grpc-testing/testing-images-public/python_ubuntu2204_x64@sha256:b6ca497348741615406d1d571cf5042008da934c4f708877aa06a66b5dc3036c", "tools/dockerfile/distribtest/ruby_centos7_x64.current_version": "docker://us-docker.pkg.dev/grpc-testing/testing-images-public/ruby_centos7_x64@sha256:4d529b984b78ca179086f7f9b416605e2d9a96ca0a28a71f4421bb5ffdc18f96", "tools/dockerfile/distribtest/ruby_debian10_x64.current_version": "docker://us-docker.pkg.dev/grpc-testing/testing-images-public/ruby_debian10_x64@sha256:1298c39c950b2a48261555b6cff1ae66230a5020f100d3b381759285f0caf84e", "tools/dockerfile/distribtest/ruby_debian10_x64_ruby_2_7.current_version": "docker://us-docker.pkg.dev/grpc-testing/testing-images-public/ruby_debian10_x64_ruby_2_7@sha256:5ee26ad3abe2683c9a8ee03987ab0ae63f50793c3d3f5e4be6e6cbacb4556fcf", "tools/dockerfile/distribtest/ruby_debian10_x64_ruby_3_0.current_version": "docker://us-docker.pkg.dev/grpc-testing/testing-images-public/ruby_debian10_x64_ruby_3_0@sha256:9190da90a2a95eca1370cef64dcba7ddee9f59cc7487093da6711c1280a0b0f9", - "tools/dockerfile/distribtest/ruby_ubuntu1604_x64.current_version": "docker://us-docker.pkg.dev/grpc-testing/testing-images-public/ruby_ubuntu1604_x64@sha256:e0276968184a6c1e16de4e6afbbd469df91b27e40d061340841c76e864fdcb50", "tools/dockerfile/distribtest/ruby_ubuntu1804_x64.current_version": "docker://us-docker.pkg.dev/grpc-testing/testing-images-public/ruby_ubuntu1804_x64@sha256:d38b3dd34cffc027e9a1bf82bc7ace75b8a9829c2d04d5cf7cc8323655edd27a", + "tools/dockerfile/distribtest/ruby_ubuntu2204_x64.current_version": "docker://us-docker.pkg.dev/grpc-testing/testing-images-public/ruby_ubuntu2204_x64@sha256:1c74c312f8a4ab37e629732a35daa3056e12136b90f37540cdf9fa11303c7eb8", "tools/dockerfile/grpc_artifact_centos6_x64.current_version": "docker://us-docker.pkg.dev/grpc-testing/testing-images-public/grpc_artifact_centos6_x64@sha256:3285047265ea2b7c5d4df4c769b2d05f56288d947c75e16d27ae2dee693f791b", "tools/dockerfile/grpc_artifact_centos6_x86.current_version": "docker://us-docker.pkg.dev/grpc-testing/testing-images-public/grpc_artifact_centos6_x86@sha256:19783239da92208f0f39cf563529cd02e889920497ef81c60d20391fa998af62", "tools/dockerfile/grpc_artifact_protoc_aarch64.current_version": "docker://us-docker.pkg.dev/grpc-testing/testing-images-public/grpc_artifact_protoc_aarch64@sha256:1a3957f32e81259e6f3c602bd67feb132ebc5a5f23e9cb0bf63ba34b91185982", @@ -109,7 +109,7 @@ DOCKERIMAGE_CURRENT_VERSIONS = { "tools/dockerfile/test/python_alpine_x64.current_version": "docker://us-docker.pkg.dev/grpc-testing/testing-images-public/python_alpine_x64@sha256:75fa424f2dae683422a5875d64911d9abf06c31e944401d240666d06f83de573", "tools/dockerfile/test/python_debian11_default_arm64.current_version": "docker://us-docker.pkg.dev/grpc-testing/testing-images-public/python_debian11_default_arm64@sha256:e1fd0a85aed633d817ac086f3c588c6343d316b7d41a4dd62a8ecfbb70358687", "tools/dockerfile/test/python_debian11_default_x64.current_version": "docker://us-docker.pkg.dev/grpc-testing/testing-images-public/python_debian11_default_x64@sha256:8f22ba10b93b14c13ceb296cbbd41dba04947b457efc229412b43280ad6a4adc", - "tools/dockerfile/test/rbe_ubuntu2004.current_version": "docker://us-docker.pkg.dev/grpc-testing/testing-images-public/rbe_ubuntu2004@sha256:d3951aeadf43e3bee6adc5b86d26cdaf0b9d1b5baf790d7b2530d1c197adc9f8", + "tools/dockerfile/test/rbe_ubuntu2204.current_version": "docker://us-docker.pkg.dev/grpc-testing/testing-images-public/rbe_ubuntu2204@sha256:a193b5d481ddd24cffbbe31d81c95f97e5a9f417fdd6ba8b7be972c28dfaa9e7", "tools/dockerfile/test/ruby_debian11_arm64.current_version": "docker://us-docker.pkg.dev/grpc-testing/testing-images-public/ruby_debian11_arm64@sha256:7e77cf17e2e8657f4cc23ac9f93630bf13213fff961799e0f16dae17cd45cf6d", "tools/dockerfile/test/ruby_debian11_x64.current_version": "docker://us-docker.pkg.dev/grpc-testing/testing-images-public/ruby_debian11_x64@sha256:e4cb502caccf2db733268ce2ddc951fda8a9df2f7f53d6b74523c33d40c83006", "tools/dockerfile/test/sanity.current_version": "docker://us-docker.pkg.dev/grpc-testing/testing-images-public/sanity@sha256:697961d9bc7e8b61598b707fade0b1a5d2e4e8c12e7ed66b07ab35eb619f0722", diff --git a/tools/dockerfile/distribtest/csharp_ubuntu1604_x64.current_version b/tools/dockerfile/distribtest/csharp_ubuntu1604_x64.current_version deleted file mode 100644 index d6da15ab979..00000000000 --- a/tools/dockerfile/distribtest/csharp_ubuntu1604_x64.current_version +++ /dev/null @@ -1 +0,0 @@ -us-docker.pkg.dev/grpc-testing/testing-images-public/csharp_ubuntu1604_x64:055154ec1a27322dfe63008dfb2fe067eb095f86@sha256:e0f44406df14a28ce0a0f4e26c74c95f0fa5dddadf1fdbb2a3793b7c8ef8fa63 \ No newline at end of file diff --git a/tools/dockerfile/distribtest/csharp_ubuntu2204_x64.current_version b/tools/dockerfile/distribtest/csharp_ubuntu2204_x64.current_version new file mode 100644 index 00000000000..7b28ed0f0ea --- /dev/null +++ b/tools/dockerfile/distribtest/csharp_ubuntu2204_x64.current_version @@ -0,0 +1 @@ +us-docker.pkg.dev/grpc-testing/testing-images-public/csharp_ubuntu2204_x64:0633fc6f5a0d1df7cf0e2d71527319ab6baeade3@sha256:e02f13b01bfa5511c98fdad36a5258576517f4f3b727a88f881b98f4d79d23f5 \ No newline at end of file diff --git a/tools/dockerfile/distribtest/csharp_ubuntu1604_x64/Dockerfile b/tools/dockerfile/distribtest/csharp_ubuntu2204_x64/Dockerfile similarity index 90% rename from tools/dockerfile/distribtest/csharp_ubuntu1604_x64/Dockerfile rename to tools/dockerfile/distribtest/csharp_ubuntu2204_x64/Dockerfile index 4755a3bce29..6d40f82dee8 100644 --- a/tools/dockerfile/distribtest/csharp_ubuntu1604_x64/Dockerfile +++ b/tools/dockerfile/distribtest/csharp_ubuntu2204_x64/Dockerfile @@ -12,14 +12,16 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM ubuntu:16.04 +FROM ubuntu:22.04 -RUN apt-get update && apt-get install -y apt-transport-https && apt-get clean +RUN apt-get update && apt-get install -y apt-transport-https gnupg && apt-get clean RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF RUN echo "deb https://download.mono-project.com/repo/ubuntu stable-xenial main" | tee /etc/apt/sources.list.d/mono-official-stable.list -RUN apt-get update && apt-get install -y \ +RUN apt-get update + +RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get install -y \ mono-devel \ nuget \ && apt-get clean diff --git a/tools/dockerfile/distribtest/python_dev_ubuntu1604_x64.current_version b/tools/dockerfile/distribtest/python_dev_ubuntu1604_x64.current_version deleted file mode 100644 index a58cc462c9b..00000000000 --- a/tools/dockerfile/distribtest/python_dev_ubuntu1604_x64.current_version +++ /dev/null @@ -1 +0,0 @@ -us-docker.pkg.dev/grpc-testing/testing-images-public/python_dev_ubuntu1604_x64:7ba01be86cef2719c5c258a767e9c3144e8f7092@sha256:167134c3a43e7d2608c893cc98a5066eae93c6af97ef5a1e69d643cbc7fefc43 \ No newline at end of file diff --git a/tools/dockerfile/distribtest/python_dev_ubuntu2204_x64.current_version b/tools/dockerfile/distribtest/python_dev_ubuntu2204_x64.current_version new file mode 100644 index 00000000000..cd41c45b1e1 --- /dev/null +++ b/tools/dockerfile/distribtest/python_dev_ubuntu2204_x64.current_version @@ -0,0 +1 @@ +us-docker.pkg.dev/grpc-testing/testing-images-public/python_dev_ubuntu2204_x64:ffc51d1c12585ef59cada3fc081badcee1f71222@sha256:9e6c9ddc738afcd73fcf2de27b22fdc22a74f1e90e214345838373d9c65ea215 \ No newline at end of file diff --git a/tools/dockerfile/distribtest/python_dev_ubuntu1604_x64/Dockerfile b/tools/dockerfile/distribtest/python_dev_ubuntu2204_x64/Dockerfile similarity index 91% rename from tools/dockerfile/distribtest/python_dev_ubuntu1604_x64/Dockerfile rename to tools/dockerfile/distribtest/python_dev_ubuntu2204_x64/Dockerfile index add7b329d5a..554917bd715 100644 --- a/tools/dockerfile/distribtest/python_dev_ubuntu1604_x64/Dockerfile +++ b/tools/dockerfile/distribtest/python_dev_ubuntu2204_x64/Dockerfile @@ -12,11 +12,11 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM ubuntu:16.04 +FROM ubuntu:22.04 RUN apt-get update -y && apt-get install -y python3 python3-pip RUN apt-get install -y build-essential RUN apt-get install -y python3-dev -RUN python3 -m pip install virtualenv==16.7.9 +RUN python3 -m pip install virtualenv \ No newline at end of file diff --git a/tools/dockerfile/distribtest/python_ubuntu1604_x64.current_version b/tools/dockerfile/distribtest/python_ubuntu1604_x64.current_version deleted file mode 100644 index 302aafaa3c1..00000000000 --- a/tools/dockerfile/distribtest/python_ubuntu1604_x64.current_version +++ /dev/null @@ -1 +0,0 @@ -us-docker.pkg.dev/grpc-testing/testing-images-public/python_ubuntu1604_x64:371e156fc47905c855f002c5dbd5eae63467f36c@sha256:44a821a9f5431122c2e239ba35cf181c2fde84a5d866e8add338599565881492 \ No newline at end of file diff --git a/tools/dockerfile/distribtest/python_ubuntu2204_x64.current_version b/tools/dockerfile/distribtest/python_ubuntu2204_x64.current_version new file mode 100644 index 00000000000..4a96cfebd9a --- /dev/null +++ b/tools/dockerfile/distribtest/python_ubuntu2204_x64.current_version @@ -0,0 +1 @@ +us-docker.pkg.dev/grpc-testing/testing-images-public/python_ubuntu2204_x64:ac499ff8e4bfb58093bfe65b87ebe5f37dbd277f@sha256:b6ca497348741615406d1d571cf5042008da934c4f708877aa06a66b5dc3036c \ No newline at end of file diff --git a/tools/dockerfile/distribtest/python_ubuntu1604_x64/Dockerfile b/tools/dockerfile/distribtest/python_ubuntu2204_x64/Dockerfile similarity index 82% rename from tools/dockerfile/distribtest/python_ubuntu1604_x64/Dockerfile rename to tools/dockerfile/distribtest/python_ubuntu2204_x64/Dockerfile index af925d8442e..457ac1d6443 100644 --- a/tools/dockerfile/distribtest/python_ubuntu1604_x64/Dockerfile +++ b/tools/dockerfile/distribtest/python_ubuntu2204_x64/Dockerfile @@ -12,14 +12,11 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM ubuntu:16.04 +FROM ubuntu:22.04 RUN apt-get update -y && apt-get install -y python3 python3-pip -# Necessary to fix virtualenv compatibility problems with python2.7 -RUN python3 -m pip install --upgrade pip==19.3.1 - # Ubuntu's python-pip package installs pip to /usr/bin, whereas the upgraded # pip lives at /usr/local/bin/pip. We'll use the absolute path for now, since # this will all be replaced with python3. -RUN /usr/local/bin/pip install virtualenv +RUN pip install virtualenv diff --git a/tools/dockerfile/distribtest/ruby_ubuntu1604_x64.current_version b/tools/dockerfile/distribtest/ruby_ubuntu1604_x64.current_version deleted file mode 100644 index 2b8d7b68e8e..00000000000 --- a/tools/dockerfile/distribtest/ruby_ubuntu1604_x64.current_version +++ /dev/null @@ -1 +0,0 @@ -us-docker.pkg.dev/grpc-testing/testing-images-public/ruby_ubuntu1604_x64:b40136d20b396dfaf37d5bc30bebf00218fb1b0f@sha256:e0276968184a6c1e16de4e6afbbd469df91b27e40d061340841c76e864fdcb50 \ No newline at end of file diff --git a/tools/dockerfile/distribtest/ruby_ubuntu2204_x64.current_version b/tools/dockerfile/distribtest/ruby_ubuntu2204_x64.current_version new file mode 100644 index 00000000000..566ebfea23d --- /dev/null +++ b/tools/dockerfile/distribtest/ruby_ubuntu2204_x64.current_version @@ -0,0 +1 @@ +us-docker.pkg.dev/grpc-testing/testing-images-public/ruby_ubuntu2204_x64:e84ceace461d6eba3842735876dfcef6c9b015a3@sha256:1c74c312f8a4ab37e629732a35daa3056e12136b90f37540cdf9fa11303c7eb8 \ No newline at end of file diff --git a/tools/dockerfile/distribtest/ruby_ubuntu1604_x64/Dockerfile b/tools/dockerfile/distribtest/ruby_ubuntu2204_x64/Dockerfile similarity index 88% rename from tools/dockerfile/distribtest/ruby_ubuntu1604_x64/Dockerfile rename to tools/dockerfile/distribtest/ruby_ubuntu2204_x64/Dockerfile index 3acd705f6d0..122e75e96b4 100644 --- a/tools/dockerfile/distribtest/ruby_ubuntu1604_x64/Dockerfile +++ b/tools/dockerfile/distribtest/ruby_ubuntu2204_x64/Dockerfile @@ -12,11 +12,11 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM ubuntu:16.04 +FROM ubuntu:22.04 # Install Git and basic packages. RUN apt-get update -y && apt-get install -y \ - curl \ + curl gnupg2 \ gcc && apt-get clean #================== @@ -27,7 +27,8 @@ RUN gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys 409B6B1796C275462A170 RUN \curl -sSL https://get.rvm.io | bash -s stable # Install Ruby 2.7 -RUN /bin/bash -l -c "rvm install ruby-2.7" +RUN /bin/bash -l -c "rvm pkg install openssl" +RUN /bin/bash -l -c "rvm install ruby-2.7 --with-openssl-dir=/usr/local/rvm/usr" RUN /bin/bash -l -c "rvm use --default ruby-2.7" RUN /bin/bash -l -c "echo 'gem: --no-document' > ~/.gemrc" RUN /bin/bash -l -c "echo 'export PATH=/usr/local/rvm/bin:$PATH' >> ~/.bashrc" diff --git a/tools/dockerfile/test/rbe_ubuntu2004.current_version b/tools/dockerfile/test/rbe_ubuntu2004.current_version deleted file mode 100644 index ed04a4e71a7..00000000000 --- a/tools/dockerfile/test/rbe_ubuntu2004.current_version +++ /dev/null @@ -1 +0,0 @@ -us-docker.pkg.dev/grpc-testing/testing-images-public/rbe_ubuntu2004:58594aefea3481a4839f8411e365b58ef9f34fcc@sha256:d3951aeadf43e3bee6adc5b86d26cdaf0b9d1b5baf790d7b2530d1c197adc9f8 \ No newline at end of file diff --git a/tools/dockerfile/test/rbe_ubuntu2204.current_version b/tools/dockerfile/test/rbe_ubuntu2204.current_version new file mode 100644 index 00000000000..5499608f556 --- /dev/null +++ b/tools/dockerfile/test/rbe_ubuntu2204.current_version @@ -0,0 +1 @@ +us-docker.pkg.dev/grpc-testing/testing-images-public/rbe_ubuntu2204:53c2d4dd8ec1799158a3a0fc5eb6fc78906e9bac@sha256:a193b5d481ddd24cffbbe31d81c95f97e5a9f417fdd6ba8b7be972c28dfaa9e7 \ No newline at end of file diff --git a/tools/dockerfile/test/rbe_ubuntu2004/Dockerfile b/tools/dockerfile/test/rbe_ubuntu2204/Dockerfile similarity index 97% rename from tools/dockerfile/test/rbe_ubuntu2004/Dockerfile rename to tools/dockerfile/test/rbe_ubuntu2204/Dockerfile index 97d57045a1a..6d45efebb51 100644 --- a/tools/dockerfile/test/rbe_ubuntu2004/Dockerfile +++ b/tools/dockerfile/test/rbe_ubuntu2204/Dockerfile @@ -12,9 +12,9 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM ubuntu:20.04 +FROM ubuntu:22.04 -# Workaround the "tzdata hangs apt-get install during docker image build" issue for ubuntu20.04 +# Workaround the "tzdata hangs apt-get install during docker image build" issue for ubuntu22.04 # by setting timezone to "Etc/UTC" in advance. RUN echo "Etc/UTC" > /etc/timezone @@ -57,7 +57,7 @@ RUN ln -s /usr/bin/python3 /usr/bin/python # * for sanitizers to work, we need MSAN and TSAN enabled versions of libc++ # Check https://storage.googleapis.com/clang-builds-stable/clang-ubuntu20_04/latest.txt # for the value of LLVM_LATEST. -ARG LLVM_LATEST="f2b94bd7eaa83d853dc7568fac87b1f8bf4ddec6" +ARG LLVM_LATEST="f3d0613d852a90563a1e8704930a6e79368f106a" RUN wget -q https://storage.googleapis.com/clang-builds-stable/clang-ubuntu20_04/clang_r${LLVM_LATEST}.tar.gz -O /tmp/clang.tar.gz \ && tar -xzf /tmp/clang.tar.gz -C /usr/local && rm /tmp/clang.tar.gz RUN wget -q https://storage.googleapis.com/clang-builds-stable/clang-ubuntu20_04/libcxx_r${LLVM_LATEST}.tar.gz -O /tmp/libcxx.tar.gz \ diff --git a/tools/run_tests/artifacts/distribtest_targets.py b/tools/run_tests/artifacts/distribtest_targets.py index a2b462bb688..c5d2c3059fa 100644 --- a/tools/run_tests/artifacts/distribtest_targets.py +++ b/tools/run_tests/artifacts/distribtest_targets.py @@ -429,7 +429,7 @@ def targets(): CSharpDistribTest( "linux", "x64", "debian10", use_dotnet_cli=True, presubmit=True ), - CSharpDistribTest("linux", "x64", "ubuntu1604", use_dotnet_cli=True), + CSharpDistribTest("linux", "x64", "ubuntu2204", use_dotnet_cli=True), CSharpDistribTest( "linux", "x64", "alpine", use_dotnet_cli=True, presubmit=True ), @@ -448,7 +448,7 @@ def targets(): PythonDistribTest("linux", "x64", "fedora36"), PythonDistribTest("linux", "x64", "arch"), PythonDistribTest("linux", "x64", "alpine"), - PythonDistribTest("linux", "x64", "ubuntu2004"), + PythonDistribTest("linux", "x64", "ubuntu2204"), PythonDistribTest( "linux", "aarch64", "python38_buster", presubmit=True ), @@ -463,7 +463,7 @@ def targets(): ), PythonDistribTest("linux", "x64", "fedora36", source=True), PythonDistribTest("linux", "x64", "arch", source=True), - PythonDistribTest("linux", "x64", "ubuntu2004", source=True), + PythonDistribTest("linux", "x64", "ubuntu2204", source=True), # Ruby RubyDistribTest( "linux", @@ -477,8 +477,8 @@ def targets(): "linux", "x64", "debian10", ruby_version="ruby_3_0", presubmit=True ), RubyDistribTest("linux", "x64", "centos7"), - RubyDistribTest("linux", "x64", "ubuntu1604"), - RubyDistribTest("linux", "x64", "ubuntu1804", presubmit=True), + RubyDistribTest("linux", "x64", "ubuntu1804"), + RubyDistribTest("linux", "x64", "ubuntu2204", presubmit=True), # PHP7 PHP7DistribTest("linux", "x64", "debian10", presubmit=True), PHP7DistribTest("macos", "x64", presubmit=True),