File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2929 echo This will take a while if it is the first time you are building the docker image.
3030 echo Log in ${OUTPUT_DIR} /dockerbuild.log
3131
32- docker pull ghcr.io/deislabs /wasm-clang-builder:latest
32+ docker pull ghcr.io/hyperlight-dev /wasm-clang-builder:latest
3333
34- docker build --build-arg GCC_VERSION=12 --build-arg WASI_SDK_VERSION_FULL=20.0 --cache-from ghcr.io/deislabs /wasm-clang-builder:latest -t wasm-clang-builder:latest . 2> ${OUTPUT_DIR} /dockerbuild.log
34+ docker build --build-arg GCC_VERSION=12 --build-arg WASI_SDK_VERSION_FULL=20.0 --cache-from ghcr.io/hyperlight-dev /wasm-clang-builder:latest -t wasm-clang-builder:latest . 2> ${OUTPUT_DIR} /dockerbuild.log
3535
3636 for FILENAME in $( find . -name ' *.c' )
3737 do
Original file line number Diff line number Diff line change @@ -14,11 +14,11 @@ where docker || (
1414 set " dockeroutput = $(wslpath '%~2 ')"
1515)
1616
17- %dockercmd% pull ghcr.io/deislabs /wasm-clang-builder:latest
17+ %dockercmd% pull ghcr.io/hyperlight-dev /wasm-clang-builder:latest
1818
1919echo Building docker image that has Wasm sdk. Should be quick if no changes to docker image.
2020echo Log in %2 \dockerbuild.log
21- %dockercmd% build --build-arg GCC_VERSION=12 --build-arg WASI_SDK_VERSION_FULL=20.0 --cache-from ghcr.io/deislabs /wasm-clang-builder:latest -t wasm-clang-builder:latest !dockerinput! 2 > %2 dockerbuild.log
21+ %dockercmd% build --build-arg GCC_VERSION=12 --build-arg WASI_SDK_VERSION_FULL=20.0 --cache-from ghcr.io/hyperlight-dev /wasm-clang-builder:latest -t wasm-clang-builder:latest !dockerinput! 2 > %2 dockerbuild.log
2222
2323echo Building Wasm files in %1 and output to %2
2424for /R " %1 " %%i in (*.c) do (
Original file line number Diff line number Diff line change 11FROM ubuntu
22ENV DEBIAN_FRONTEND=noninteractive
3- LABEL org.opencontainers.image.source=https://github.com/deislabs /hyperlight-wasm
3+ LABEL org.opencontainers.image.source=https://github.com/hyperlight-dev /hyperlight-wasm
44
55ARG GCC_VERSION=12
66
@@ -19,4 +19,4 @@ RUN wget https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-${WA
1919 && tar xvf wasi-sdk-${WASI_SDK_VERSION_FULL}-linux.tar.gz \
2020 && rm wasi-sdk-${WASI_SDK_VERSION_FULL}-linux.tar.gz \
2121 && mv /wasi-sdk-${WASI_SDK_VERSION_FULL} /opt/wasi-sdk
22- CMD ["/bin/sh"]
22+ CMD ["/bin/sh"]
You can’t perform that action at this time.
0 commit comments