golang.org/x/build@v0.0.0-20240506185731-218518f32b70/env/wasip1-wasm-wasmtime/Dockerfile (about)

     1  # Copyright 2022 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  ARG REPO
     6  
     7  FROM debian:latest as builder
     8  LABEL maintainer="golang-dev@googlegroups.com"
     9  
    10  RUN apt-get update && apt-get -y install curl xz-utils
    11  
    12  # A copy of https://wasmtime.dev/install.sh.
    13  COPY install.sh install.sh
    14  
    15  RUN bash install.sh --version v9.0.1
    16  
    17  FROM ${REPO}/linux-x86-sid:20221109
    18  
    19  COPY --from=builder /root/.wasmtime/bin/wasmtime /usr/local/bin/wasmtime
    20  
    21  CMD ["/usr/local/bin/stage0"]