golang.org/x/build@v0.0.0-20240506185731-218518f32b70/env/linux-x86-debug/Dockerfile (about)

     1  # Copyright 2020 The Go Authors. All rights reserved.
     2  # Use of this source code is governed by a BSD-style
     3  # license that can be found in the LICENSE file.
     4  
     5  # This is not a builder image. Rather, it's a Debian image with common
     6  # debugging tools, useful when debugging things on Container Optimized
     7  # OS VMs without external network access that can at least run docker
     8  # images from gcr.io.
     9  
    10  FROM debian:stretch
    11  MAINTAINER golang-dev <golang-dev@googlegroups.com>
    12  
    13  ENV DEBIAN_FRONTEND noninteractive
    14  
    15  RUN apt-get update && apt-get install -y \
    16  	--no-install-recommends \
    17  	netbase \
    18  	tcpdump \
    19  	ca-certificates \
    20  	curl \
    21  	gdb \
    22  	strace \
    23  	gcc \
    24  	libc6-dev \
    25  	procps \
    26  	lsof \
    27  	psmisc \
    28  	openssh-server \
    29  	git \
    30  	iptables \
    31  	iproute2 \
    32  	screen \
    33  	make \
    34  	&& rm -rf /var/lib/apt/lists/*
    35  
    36  CMD ["/usr/bin/bash"]
    37