golang.org/x/build@v0.0.0-20240506185731-218518f32b70/env/wasip1-wasm-wasmedge/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 python3 git
    11  
    12  # A copy of https://raw.githubusercontent.com/WasmEdge/WasmEdge/master/utils/install.py.
    13  COPY install.py install.py
    14  
    15  RUN python3 install.py --version 0.12.0
    16  
    17  FROM ${REPO}/linux-x86-sid:20221109
    18  
    19  COPY --from=builder /root/.wasmedge/bin/wasmedge /usr/local/bin/wasmedge
    20  COPY --from=builder /root/.wasmedge/lib/* /usr/local/lib/
    21  
    22  ENV LD_LIBRARY_PATH=/usr/local/lib
    23  
    24  CMD ["/usr/local/bin/stage0"]