Docker image cleanup (prepare for ARM64 tests) (#29051)

* remove gcc-multilib from base image

* remove useless "apt-get --allow-releaseinfo-change update" from docker images

* get rid of no-longer-useful python_debian11_base.include

* regenerate dockerfiles
pull/29054/head
Jan Tattermusch 3 years ago committed by GitHub
parent 2a699b9a09
commit d15711d2bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      templates/tools/dockerfile/apt_get_basic.include
  2. 5
      templates/tools/dockerfile/interoptest/grpc_interop_python/Dockerfile.template
  3. 5
      templates/tools/dockerfile/interoptest/grpc_interop_pythonasyncio/Dockerfile.template
  4. 4
      templates/tools/dockerfile/python_debian11_base.include
  5. 1
      templates/tools/dockerfile/test/cxx_debian11_openssl102_x64/Dockerfile.template
  6. 2
      templates/tools/dockerfile/test/cxx_debian11_x64/Dockerfile.template
  7. 6
      templates/tools/dockerfile/test/python_debian11_default_x64/Dockerfile.template
  8. 2
      tools/dockerfile/grpc_artifact_android_ndk/Dockerfile
  9. 2
      tools/dockerfile/interoptest/grpc_interop_csharp/Dockerfile
  10. 2
      tools/dockerfile/interoptest/grpc_interop_csharpcoreclr/Dockerfile
  11. 2
      tools/dockerfile/interoptest/grpc_interop_cxx/Dockerfile
  12. 2
      tools/dockerfile/interoptest/grpc_interop_node/Dockerfile
  13. 2
      tools/dockerfile/interoptest/grpc_interop_nodepurejs/Dockerfile
  14. 2
      tools/dockerfile/interoptest/grpc_interop_php7/Dockerfile
  15. 5
      tools/dockerfile/interoptest/grpc_interop_python/Dockerfile
  16. 5
      tools/dockerfile/interoptest/grpc_interop_pythonasyncio/Dockerfile
  17. 2
      tools/dockerfile/interoptest/grpc_interop_ruby/Dockerfile
  18. 2
      tools/dockerfile/test/csharp_debian11_x64/Dockerfile
  19. 3
      tools/dockerfile/test/cxx_debian11_openssl102_x64/Dockerfile
  20. 4
      tools/dockerfile/test/cxx_debian11_x64/Dockerfile
  21. 2
      tools/dockerfile/test/cxx_debian11_x86/Dockerfile
  22. 2
      tools/dockerfile/test/php7_debian11_x64/Dockerfile
  23. 4
      tools/dockerfile/test/python_debian11_default_x64/Dockerfile
  24. 2
      tools/dockerfile/test/ruby_debian11_x64/Dockerfile
  25. 2
      tools/dockerfile/test/sanity/Dockerfile

@ -12,9 +12,7 @@ RUN apt-get update && apt-get install -y ${'\\'}
# GCC
RUN apt-get update && apt-get install -y ${'\\'}
gcc ${'\\'}
gcc-multilib ${'\\'}
g++ ${'\\'}
g++-multilib ${'\\'}
&& apt-get clean
# libc6

@ -14,7 +14,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
<%include file="../../python_debian11_base.include"/>
FROM debian:11
<%include file="../../apt_get_basic.include"/>
<%include file="../../run_tests_addons.include"/>
RUN apt-get update && apt-get install -y python3 python3-all-dev python3-pip
RUN ln -s $(which python3) /usr/bin/python

@ -14,7 +14,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
<%include file="../../python_debian11_base.include"/>
FROM debian:11
<%include file="../../apt_get_basic.include"/>
<%include file="../../run_tests_addons.include"/>
RUN apt-get update && apt-get install -y python3 python3-pip python3-all-dev
RUN ln -s $(which python3) /usr/bin/python

@ -1,4 +0,0 @@
FROM debian:11
<%include file="./apt_get_basic.include"/>
<%include file="./run_tests_addons.include"/>

@ -16,7 +16,6 @@
FROM debian:11
RUN apt-get --allow-releaseinfo-change update
<%include file="../../apt_get_basic.include"/>
<%include file="../../run_tests_python_deps.include"/>
<%include file="../../cxx_deps.include"/>

@ -15,8 +15,6 @@
# limitations under the License.
FROM debian:11
RUN apt-get --allow-releaseinfo-change update
<%include file="../../apt_get_basic.include"/>
<%include file="../../run_tests_python_deps.include"/>

@ -14,7 +14,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.
<%include file="../../python_debian11_base.include"/>
FROM debian:11
<%include file="../../apt_get_basic.include"/>
<%include file="../../run_tests_addons.include"/>
<%include file="../../compile_python_36.include"/>
<%include file="../../compile_python_37.include"/>
<%include file="../../compile_python_38.include"/>

@ -28,9 +28,7 @@ RUN apt-get update && apt-get install -y \
# GCC
RUN apt-get update && apt-get install -y \
gcc \
gcc-multilib \
g++ \
g++-multilib \
&& apt-get clean
# libc6

@ -28,9 +28,7 @@ RUN apt-get update && apt-get install -y \
# GCC
RUN apt-get update && apt-get install -y \
gcc \
gcc-multilib \
g++ \
g++-multilib \
&& apt-get clean
# libc6

@ -28,9 +28,7 @@ RUN apt-get update && apt-get install -y \
# GCC
RUN apt-get update && apt-get install -y \
gcc \
gcc-multilib \
g++ \
g++-multilib \
&& apt-get clean
# libc6

@ -28,9 +28,7 @@ RUN apt-get update && apt-get install -y \
# GCC
RUN apt-get update && apt-get install -y \
gcc \
gcc-multilib \
g++ \
g++-multilib \
&& apt-get clean
# libc6

@ -28,9 +28,7 @@ RUN apt-get update && apt-get install -y \
# GCC
RUN apt-get update && apt-get install -y \
gcc \
gcc-multilib \
g++ \
g++-multilib \
&& apt-get clean
# libc6

@ -28,9 +28,7 @@ RUN apt-get update && apt-get install -y \
# GCC
RUN apt-get update && apt-get install -y \
gcc \
gcc-multilib \
g++ \
g++-multilib \
&& apt-get clean
# libc6

@ -28,9 +28,7 @@ RUN apt-get update && apt-get install -y \
# GCC
RUN apt-get update && apt-get install -y \
gcc \
gcc-multilib \
g++ \
g++-multilib \
&& apt-get clean
# libc6

@ -13,7 +13,7 @@
# limitations under the License.
FROM debian:11
#=================
# Basic C core dependencies
@ -28,9 +28,7 @@ RUN apt-get update && apt-get install -y \
# GCC
RUN apt-get update && apt-get install -y \
gcc \
gcc-multilib \
g++ \
g++-multilib \
&& apt-get clean
# libc6
@ -59,7 +57,6 @@ RUN apt-get update && apt-get install -y \
RUN mkdir /var/local/jenkins
RUN apt-get update && apt-get install -y python3 python3-all-dev python3-pip
RUN ln -s $(which python3) /usr/bin/python

@ -13,7 +13,7 @@
# limitations under the License.
FROM debian:11
#=================
# Basic C core dependencies
@ -28,9 +28,7 @@ RUN apt-get update && apt-get install -y \
# GCC
RUN apt-get update && apt-get install -y \
gcc \
gcc-multilib \
g++ \
g++-multilib \
&& apt-get clean
# libc6
@ -59,7 +57,6 @@ RUN apt-get update && apt-get install -y \
RUN mkdir /var/local/jenkins
RUN apt-get update && apt-get install -y python3 python3-pip python3-all-dev
RUN ln -s $(which python3) /usr/bin/python

@ -28,9 +28,7 @@ RUN apt-get update && apt-get install -y \
# GCC
RUN apt-get update && apt-get install -y \
gcc \
gcc-multilib \
g++ \
g++-multilib \
&& apt-get clean
# libc6

@ -28,9 +28,7 @@ RUN apt-get update && apt-get install -y \
# GCC
RUN apt-get update && apt-get install -y \
gcc \
gcc-multilib \
g++ \
g++-multilib \
&& apt-get clean
# libc6

@ -14,7 +14,6 @@
FROM debian:11
RUN apt-get --allow-releaseinfo-change update
#=================
# Basic C core dependencies
@ -29,9 +28,7 @@ RUN apt-get update && apt-get install -y \
# GCC
RUN apt-get update && apt-get install -y \
gcc \
gcc-multilib \
g++ \
g++-multilib \
&& apt-get clean
# libc6

@ -14,8 +14,6 @@
FROM debian:11
RUN apt-get --allow-releaseinfo-change update
#=================
# Basic C core dependencies
@ -30,9 +28,7 @@ RUN apt-get update && apt-get install -y \
# GCC
RUN apt-get update && apt-get install -y \
gcc \
gcc-multilib \
g++ \
g++-multilib \
&& apt-get clean
# libc6

@ -28,9 +28,7 @@ RUN apt-get update && apt-get install -y \
# GCC
RUN apt-get update && apt-get install -y \
gcc \
gcc-multilib \
g++ \
g++-multilib \
&& apt-get clean
# libc6

@ -28,9 +28,7 @@ RUN apt-get update && apt-get install -y \
# GCC
RUN apt-get update && apt-get install -y \
gcc \
gcc-multilib \
g++ \
g++-multilib \
&& apt-get clean
# libc6

@ -13,7 +13,7 @@
# limitations under the License.
FROM debian:11
#=================
# Basic C core dependencies
@ -28,9 +28,7 @@ RUN apt-get update && apt-get install -y \
# GCC
RUN apt-get update && apt-get install -y \
gcc \
gcc-multilib \
g++ \
g++-multilib \
&& apt-get clean
# libc6

@ -28,9 +28,7 @@ RUN apt-get update && apt-get install -y \
# GCC
RUN apt-get update && apt-get install -y \
gcc \
gcc-multilib \
g++ \
g++-multilib \
&& apt-get clean
# libc6

@ -28,9 +28,7 @@ RUN apt-get update && apt-get install -y \
# GCC
RUN apt-get update && apt-get install -y \
gcc \
gcc-multilib \
g++ \
g++-multilib \
&& apt-get clean
# libc6

Loading…
Cancel
Save