Skip to content

Commit bbafd56

Browse files
Checkout with given scheme
1 parent fe78f27 commit bbafd56

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

utils/webassembly/amazonlinux/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,13 @@ ENV PATH="/home/ec2-user/cmake-3.16.5-Linux-x86_64/bin/:${PATH}"
3333

3434
# Bootstrap the swift source and do a full checkout
3535
ARG SWIFT_GIT_SHA
36+
ARG SWIFT_CHECKOUT_SCHEME=wasm
37+
3638
RUN git clone https://github.com/swiftwasm/swift.git
3739
WORKDIR /home/ec2-user/swift
3840
RUN git fetch origin $SWIFT_GIT_SHA
3941
RUN git checkout $SWIFT_GIT_SHA
40-
RUN ./utils/update-checkout --clone --scheme wasm --skip-repository swift
42+
RUN ./utils/update-checkout --clone --scheme $SWIFT_CHECKOUT_SCHEME --skip-repository swift
4143
RUN ./utils/webassembly/install-wasi-sdk.sh linux ubuntu-18.04
4244

4345
RUN ./utils/webassembly/build-toolchain.sh

0 commit comments

Comments
 (0)