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

     1  # Copyright 2023 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
    11  
    12  # A copy of https://raw.githubusercontent.com/wasmerio/wasmer-install/master/install.sh.
    13  COPY install.sh install.sh
    14  
    15  RUN bash install.sh v3.3.0
    16  
    17  FROM ${REPO}/linux-x86-sid:20221109
    18  
    19  COPY --from=builder /root/.wasmer/bin/wasmer /usr/local/bin/wasmer
    20  
    21  CMD ["/usr/local/bin/stage0"]