This repository was archived by the owner on Mar 23, 2023. It is now read-only.
File tree 4 files changed +11
-7
lines changed
4 files changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,8 @@ RUN curl -OLsS https://github.com/google/protobuf/releases/download/v3.5.1/proto
50
50
51
51
COPY ./sdk /sdk
52
52
53
- RUN USER=root cargo new --bin contracts/pike
53
+ RUN mkdir contracts \
54
+ && USER=root cargo new --bin contracts/pike
54
55
WORKDIR /contracts/pike
55
56
56
57
# Build TP with dummy source in order to cache dependencies in Docker image.
Original file line number Diff line number Diff line change @@ -56,7 +56,8 @@ RUN curl -OLsS https://github.com/google/protobuf/releases/download/v3.5.1/proto
56
56
57
57
COPY ./sdk /sdk
58
58
59
- RUN USER=root cargo new --bin contracts/schema
59
+ RUN mkdir contracts \
60
+ && USER=root cargo new --bin contracts/schema
60
61
WORKDIR /contracts/schema
61
62
62
63
# Build TP with dummy source in order to cache dependencies in Docker image.
Original file line number Diff line number Diff line change @@ -56,7 +56,8 @@ RUN curl -OLsS https://github.com/google/protobuf/releases/download/v3.5.1/proto
56
56
57
57
COPY ./sdk /sdk
58
58
59
- RUN USER=root cargo new --bin contracts/track_and_trace
59
+ RUN mkdir contracts \
60
+ && USER=root cargo new --bin contracts/track_and_trace
60
61
WORKDIR /contracts/track_and_trace
61
62
62
63
# Build TP with dummy source in order to cache dependencies in Docker image.
Original file line number Diff line number Diff line change @@ -50,27 +50,28 @@ RUN rustup update \
50
50
51
51
COPY ./sdk /sdk
52
52
53
- RUN USER=root cargo new --bin contracts/schema
53
+ RUN mkdir contracts \
54
+ && USER=root cargo new --bin contracts/schema
54
55
WORKDIR /contracts/schema
55
56
56
57
#Build modules with dummy source in order to cache dependencies in Docker image.
57
58
COPY ./contracts/schema/Cargo.toml ./Cargo.toml
58
59
RUN cargo check
59
60
60
61
WORKDIR /
61
- RUN USER=root cargo new --bin daemon
62
+ RUN USER=root cargo new --bin daemon --vcs none
62
63
WORKDIR /daemon
63
64
COPY ./daemon/Cargo.toml ./Cargo.toml
64
65
RUN cargo check
65
66
66
67
WORKDIR /
67
- RUN USER=root cargo new --bin cli
68
+ RUN USER=root cargo new --bin cli --vcs none
68
69
WORKDIR /cli
69
70
COPY ./cli/Cargo.toml ./Cargo.toml
70
71
RUN cargo check
71
72
72
73
WORKDIR /
73
- RUN USER=root cargo new --bin contracts/track_and_trace
74
+ RUN USER=root cargo new --bin contracts/track_and_trace --vcs none
74
75
WORKDIR /contracts/track_and_trace
75
76
76
77
COPY ./contracts/track_and_trace/Cargo.toml ./Cargo.toml
You can’t perform that action at this time.
0 commit comments