We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe78f27 commit bbafd56Copy full SHA for bbafd56
utils/webassembly/amazonlinux/Dockerfile
@@ -33,11 +33,13 @@ ENV PATH="/home/ec2-user/cmake-3.16.5-Linux-x86_64/bin/:${PATH}"
33
34
# Bootstrap the swift source and do a full checkout
35
ARG SWIFT_GIT_SHA
36
+ARG SWIFT_CHECKOUT_SCHEME=wasm
37
+
38
RUN git clone https://github.com/swiftwasm/swift.git
39
WORKDIR /home/ec2-user/swift
40
RUN git fetch origin $SWIFT_GIT_SHA
41
RUN git checkout $SWIFT_GIT_SHA
-RUN ./utils/update-checkout --clone --scheme wasm --skip-repository swift
42
+RUN ./utils/update-checkout --clone --scheme $SWIFT_CHECKOUT_SCHEME --skip-repository swift
43
RUN ./utils/webassembly/install-wasi-sdk.sh linux ubuntu-18.04
44
45
RUN ./utils/webassembly/build-toolchain.sh
0 commit comments