Skip to content

Commit 0ff2973

Browse files
committed
Add version dependency to twelf checkout as well
This is similar to how we're tracking the branch wasm2 of `agoode/mlton`.
1 parent 9ad840e commit 0ff2973

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docker/Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ RUN wget https://github.com/MLton/mlton/releases/download/on-20210117-release/ml
4040
# It is supposed to have the effect of re-cloning this repository
4141
# (i.e. invalidating the docker cache at this layer) if and only if
4242
# the branch actually changes.
43-
ADD https://api.github.com/repos/agoode/mlton/git/refs/heads/wasm2 version.json
43+
ADD https://api.github.com/repos/agoode/mlton/git/refs/heads/wasm2 mlton-version.json
4444
RUN git clone -b wasm2 https://github.com/agoode/mlton mlton
4545

4646
# build mlton binary
@@ -67,6 +67,7 @@ RUN echo '#!/bin/bash\ngit rev-parse HEAD' > /usr/bin/svnversion && \
6767
chmod +x /usr/bin/svnversion
6868

6969
# build twelf binary in $BUILD/twelf/bin/twelf.wasm
70+
ADD https://api.github.com/repos/standardml/twelf/git/refs/heads/main twelf-version.json
7071
RUN git clone https://github.com/standardml/twelf && \
7172
cd twelf && \
7273
make mlton="$BUILD/mlton-INSTALL/bin/mlton \

0 commit comments

Comments
 (0)