File tree Expand file tree Collapse file tree 4 files changed +20
-77
lines changed
rsky-jetstream-subscriber Expand file tree Collapse file tree 4 files changed +20
-77
lines changed Original file line number Diff line number Diff line change @@ -4,25 +4,11 @@ FROM rust AS builder
44
55# Copy local code to the container image.
66WORKDIR /usr/src/rsky
7- COPY Cargo.toml rust-toolchain ./
8-
9- # Copy only the Cargo.toml from our package
10- COPY rsky-feedgen/Cargo.toml rsky-feedgen/Cargo.toml
11-
12- # Copy all workspace members except our target package
13- COPY cypher cypher
14- COPY rsky-common rsky-common
15- COPY rsky-crypto rsky-crypto
16- COPY rsky-identity rsky-identity
17- COPY rsky-firehose rsky-firehose
18- COPY rsky-jetstream-subscriber rsky-jetstream-subscriber
19- COPY rsky-labeler rsky-labeler
20- COPY rsky-lexicon rsky-lexicon
21- COPY rsky-pds rsky-pds
22- COPY rsky-relay rsky-relay
23- COPY rsky-repo rsky-repo
24- COPY rsky-satnav rsky-satnav
25- COPY rsky-syntax rsky-syntax
7+ RUN git clone --depth 1 https://github.com/blacksky-algorithms/rsky.git .
8+ # We can swap the line above for the lines below once we have stronger versioning
9+ # per workspace member
10+ # RUN git clone --depth 1 https://github.com/blacksky-algorithms/rsky.git . && \
11+ # git checkout <TBD when we have stronger versioning>
2612
2713# Create an empty src directory to trick Cargo into thinking it's a valid Rust project
2814RUN mkdir -p rsky-feedgen/src && echo "fn main() {}" > rsky-feedgen/src/main.rs
Original file line number Diff line number Diff line change @@ -4,27 +4,11 @@ FROM rust AS builder
44
55# Copy local code to the container image.
66WORKDIR /usr/src/rsky
7-
8- # Start by copying the workspace configuration files
9- COPY Cargo.toml rust-toolchain ./
10-
11- # Copy only the Cargo.toml from our package
12- COPY rsky-firehose/Cargo.toml rsky-firehose/Cargo.toml
13-
14- # Copy all workspace members except our target package
15- COPY cypher cypher
16- COPY rsky-common rsky-common
17- COPY rsky-crypto rsky-crypto
18- COPY rsky-feedgen rsky-feedgen
19- COPY rsky-identity rsky-identity
20- COPY rsky-jetstream-subscriber rsky-jetstream-subscriber
21- COPY rsky-labeler rsky-labeler
22- COPY rsky-lexicon rsky-lexicon
23- COPY rsky-pds rsky-pds
24- COPY rsky-relay rsky-relay
25- COPY rsky-repo rsky-repo
26- COPY rsky-satnav rsky-satnav
27- COPY rsky-syntax rsky-syntax
7+ RUN git clone --depth 1 https://github.com/blacksky-algorithms/rsky.git .
8+ # We can swap the line above for the lines below once we have stronger versioning
9+ # per workspace member
10+ # RUN git clone --depth 1 https://github.com/blacksky-algorithms/rsky.git . && \
11+ # git checkout <TBD when we have stronger versioning>
2812
2913# Create an empty src directory to trick Cargo into thinking it's a valid Rust project
3014RUN mkdir -p rsky-firehose/src && echo "fn main() {}" > rsky-firehose/src/main.rs
Original file line number Diff line number Diff line change @@ -4,25 +4,11 @@ FROM rust AS builder
44
55# Copy local code to the container image.
66WORKDIR /usr/src/rsky
7- COPY Cargo.toml rust-toolchain ./
8-
9- # Copy only the Cargo.toml from our package
10- COPY rsky-jetstream-subscriber/Cargo.toml rsky-jetstream-subscriber/Cargo.toml
11-
12- # Copy all workspace members except our target package
13- COPY cypher cypher
14- COPY rsky-common rsky-common
15- COPY rsky-crypto rsky-crypto
16- COPY rsky-feedgen rsky-feedgen
17- COPY rsky-firehose rsky-firehose
18- COPY rsky-identity rsky-identity
19- COPY rsky-labeler rsky-labeler
20- COPY rsky-lexicon rsky-lexicon
21- COPY rsky-pds rsky-pds
22- COPY rsky-relay rsky-relay
23- COPY rsky-repo rsky-repo
24- COPY rsky-satnav rsky-satnav
25- COPY rsky-syntax rsky-syntax
7+ RUN git clone --depth 1 https://github.com/blacksky-algorithms/rsky.git .
8+ # We can swap the line above for the lines below once we have stronger versioning
9+ # per workspace member
10+ # RUN git clone --depth 1 https://github.com/blacksky-algorithms/rsky.git . && \
11+ # git checkout <TBD when we have stronger versioning>
2612
2713# Create an empty src directory to trick Cargo into thinking it's a valid Rust project
2814RUN mkdir -p rsky-jetstream-subscriber/src && echo "fn main() {}" > rsky-jetstream-subscriber/src/main.rs
Original file line number Diff line number Diff line change @@ -4,25 +4,12 @@ FROM rust AS builder
44
55# Copy local code to the container image.
66WORKDIR /usr/src/rsky
7- COPY Cargo.toml rust-toolchain ./
7+ RUN git clone --depth 1 https://github.com/blacksky-algorithms/rsky.git .
8+ # We can swap the line above for the lines below once we have stronger versioning
9+ # per workspace member
10+ # RUN git clone --depth 1 https://github.com/blacksky-algorithms/rsky.git . && \
11+ # git checkout <TBD when we have stronger versioning>
812
9- # Copy only the Cargo.toml from our package
10- COPY rsky-pds/Cargo.toml rsky-pds/Cargo.toml
11-
12- # Copy all workspace members except our target package
13- COPY cypher cypher
14- COPY rsky-common rsky-common
15- COPY rsky-crypto rsky-crypto
16- COPY rsky-feedgen rsky-feedgen
17- COPY rsky-firehose rsky-firehose
18- COPY rsky-identity rsky-identity
19- COPY rsky-jetstream-subscriber rsky-jetstream-subscriber
20- COPY rsky-labeler rsky-labeler
21- COPY rsky-lexicon rsky-lexicon
22- COPY rsky-relay rsky-relay
23- COPY rsky-repo rsky-repo
24- COPY rsky-satnav rsky-satnav
25- COPY rsky-syntax rsky-syntax
2613
2714# Create an empty src directory to trick Cargo into thinking it's a valid Rust project
2815RUN mkdir -p rsky-pds/src && echo "fn main() {}" > rsky-pds/src/main.rs
You can’t perform that action at this time.
0 commit comments