golang.org/x/build@v0.0.0-20240506185731-218518f32b70/env/linux-ppc64/osuosl/buildlet-image/Dockerfile (about)

     1  # Copyright 2019 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  # build locally from debian-sid.sh
     6  FROM murp/debian:sid-ppc64
     7  
     8  ENV DEBIAN_FRONTEND noninteractive
     9  
    10  RUN apt-get update && \
    11      apt-get install --yes \
    12            gcc curl strace \
    13            ca-certificates netbase \
    14            procps lsof psmisc \
    15            libc6-dev gdb \
    16            openssh-server
    17  
    18  RUN mkdir /usr/local/go-bootstrap && \
    19      curl --silent https://storage.googleapis.com/go-builder-data/gobootstrap-linux-ppc64.tar.gz | \
    20      tar -C /usr/local/go-bootstrap -zxv
    21  
    22  ENV GOROOT_BOOTSTRAP /usr/local/go-bootstrap
    23  RUN curl -o  /usr/local/bin/stage0 https://storage.googleapis.com/go-builder-data/buildlet-stage0.linux-ppc64 && \
    24      chmod +x /usr/local/bin/stage0
    25  
    26  ENV GO_BUILDER_ENV host-linux-ppc64-osu
    27  
    28  ENV GO_BUILD_KEY_DELETE_AFTER_READ true
    29  ENV GO_BUILD_KEY_PATH /buildkey/gobuildkey
    30  
    31  CMD ["/usr/local/bin/stage0"]