Skip to content

Commit

Permalink
Use upstream wasi-sdk docker image (envoyproxy#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
anuraaga authored Feb 8, 2023
1 parent b894c28 commit 687967d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 80 deletions.
48 changes: 0 additions & 48 deletions .github/workflows/buildtools-wasi-sdk.yaml

This file was deleted.

3 changes: 2 additions & 1 deletion buildtools/tinygo/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@
ARG WASI_LIBC_IMAGE
FROM --platform=linux/amd64 ${WASI_LIBC_IMAGE:-ghcr.io/corazawaf/coraza-proxy-wasm/buildtools-tinygo-wasi-libc:main} AS wasi-libc

FROM ghcr.io/corazawaf/coraza-proxy-wasm/buildtools-wasi-sdk:main
FROM ghcr.io/webassembly/wasi-sdk:wasi-sdk-19

ARG TARGETARCH

RUN apt-get update && apt-get install -y curl
RUN curl -L https://go.dev/dl/go1.19.2.linux-${TARGETARCH:-amd64}.tar.gz | tar -xz

ENV PATH /go/bin:/root/go/bin:$PATH
Expand Down
4 changes: 2 additions & 2 deletions buildtools/tinygo/wasi-libc.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Copyright 2022 The OWASP Coraza contributors
# SPDX-License-Identifier: Apache-2.0

FROM ghcr.io/corazawaf/coraza-proxy-wasm/buildtools-wasi-sdk:main
FROM ghcr.io/webassembly/wasi-sdk:wasi-sdk-19

RUN apt-get install -y git
RUN apt-get update && apt-get install -y git

RUN git clone https://github.com/tinygo-org/tinygo --branch dev
WORKDIR /tinygo
Expand Down
29 changes: 0 additions & 29 deletions buildtools/wasi-sdk/Dockerfile

This file was deleted.

0 comments on commit 687967d

Please sign in to comment.