diff options
author | Mitya Selivanov <automainint@guattari.tech> | 2024-11-01 22:30:29 +0100 |
---|---|---|
committer | Mitya Selivanov <automainint@guattari.tech> | 2024-11-01 22:30:29 +0100 |
commit | 2afdeaedbfb488f20cdc1cca7ce01a915df4d53a (patch) | |
tree | 76fc484f3663d54a158cda305e74d94ddcc12782 /Dockerfile | |
parent | 63c3b9bda3fe7eb8750f084ff070f40b967f9532 (diff) | |
download | reduced_system_layer-2afdeaedbfb488f20cdc1cca7ce01a915df4d53a.zip |
wasm: Implement some events
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,7 +1,9 @@ FROM alpine as build RUN apk add clang lld +COPY examples/ui.c /usr/examples/ui.c COPY reduced_system_layer.c /usr/reduced_system_layer.c -RUN clang -D REDUCED_SYSTEM_LAYER_EXAMPLE --target=wasm32 -nostdlib -Wl,--no-entry,--allow-undefined -o /usr/index.wasm /usr/reduced_system_layer.c +COPY graphics.c /usr/graphics.c +RUN clang --target=wasm32 -nostdlib -Wl,--no-entry,--allow-undefined -o /usr/index.wasm /usr/examples/ui.c FROM nginx:alpine EXPOSE 80 |