Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

why isn't there build/main.wasm file in coraza-proxy-wasm version 0.5.0 #296

Open
erictarrence opened this issue Nov 15, 2024 · 0 comments

Comments

@erictarrence
Copy link

Because isn't there build/main.wasm file in coraza-proxy-wasm version 0.5.0
I can't build coraza-proxy-was image

podman build -t docker.io/erictarrence/coraza-proxy-wasm:0.5 .
WARN[0000] missing "BASE_IMAGE" build argument. Try adding "--build-arg BASE_IMAGE=<VALUE>" to the command line 
STEP 1/2: FROM scratch
STEP 2/2: COPY build/main.wasm /plugin.wasm
Error: error building at STEP "COPY build/main.wasm /plugin.wasm": checking on sources under "/data/git/coraza-proxy-wasm-0.5.0": copier: stat: "/build/main.wasm": no such file or directory

/data/git/coraza-proxy-wasm-0.5.0$ ls
CODEOWNERS  Dockerfile  e2e  example  ftw  go.mod  go.sum  go.work  init_tinygo.go  internal  LICENSE  lifecycle_multiphase_test.go  magefiles  mage.go  main.go  main_test.go  README.md  rule_option.go  rule_option_multiphase.go  wasmplugin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant