File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ LABEL maintainer "Automata Team"
4
4
5
5
ARG PROFILE=release
6
6
ARG TOOLCHAIN=nightly-2021-06-16
7
- ARG FEATURES
8
7
9
8
RUN apt-get update && \
10
9
apt-get install -y --no-install-recommends cmake clang curl
@@ -29,11 +28,13 @@ WORKDIR /automata
29
28
30
29
COPY . /automata
31
30
31
+ ARG FEATURES
32
+
32
33
RUN --mount=type=cache,target=/root/.cache/sccache \
33
34
--mount=type=cache,target=/usr/local/cargo/registry/index \
34
35
--mount=type=cache,target=/usr/local/cargo/registry/cache \
35
36
--mount=type=cache,target=/usr/local/cargo/git/db \
36
- cargo build --$PROFILE --bin automata --features ${ FEATURES} && \
37
+ cargo build --$PROFILE --bin automata --features $FEATURES && \
37
38
cp /automata/target/${PROFILE}/automata /usr/local/bin/automata
38
39
39
40
# ===== SECOND STAGE ======
You can’t perform that action at this time.
0 commit comments