mirror of
https://codeberg.org/librarian/stream-proxy
synced 2024-12-06 19:26:34 +01:00
Fix vendored sources
This commit is contained in:
+1
-7
@@ -10,10 +10,4 @@ actix-web = { version = "4" }
|
||||
awc = { version = "3", features = ["rustls"] }
|
||||
bytes = "1.1.0"
|
||||
lazy_static = "1.4.0"
|
||||
regex = "1.5.5"
|
||||
|
||||
[source.crates-io]
|
||||
replace-with = "vendored-sources"
|
||||
|
||||
[source.vendored-sources]
|
||||
directory = "vendor"
|
||||
regex = "1.5.5"
|
||||
+1
-1
@@ -4,9 +4,9 @@ WORKDIR /src
|
||||
RUN apk --no-cache add musl-dev git ca-certificates
|
||||
RUN git clone https://codeberg.org/librarian/stream-proxy .
|
||||
|
||||
RUN mv ./config/cargo.toml ~/.cargo/config.toml
|
||||
RUN cargo vendor
|
||||
RUN cargo build --release
|
||||
RUN ls target/release
|
||||
|
||||
FROM alpine:latest as bin
|
||||
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
[source.crates-io]
|
||||
replace-with = "vendored-sources"
|
||||
|
||||
[source.vendored-sources]
|
||||
directory = "vendor"
|
||||
Reference in New Issue
Block a user