golang.org/x/build@v0.0.0-20240506185731-218518f32b70/env/linux-arm/aws/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  FROM arm32v6/debian:buster
     6  
     7  ENV DEBIAN_FRONTEND noninteractive
     8  
     9  RUN apt-get update && \
    10      apt-get install --yes \
    11            gcc curl strace \
    12            ca-certificates netbase \
    13            procps lsof psmisc \
    14            openssh-server
    15  
    16  RUN mkdir /usr/local/go-bootstrap && \
    17      curl --silent https://storage.googleapis.com/go-builder-data/gobootstrap-linux-arm.tar.gz | \
    18      tar -C /usr/local/go-bootstrap -zxv
    19  
    20  ENV GOROOT_BOOTSTRAP /usr/local/go-bootstrap
    21  RUN curl -o  /usr/local/bin/stage0 https://storage.googleapis.com/go-builder-data/buildlet-stage0.linux-arm && \
    22      chmod +x /usr/local/bin/stage0
    23  
    24  ENV GO_BUILDER_ENV host-linux-arm-aws
    25  
    26  CMD ["/usr/local/bin/stage0"]