Update to rust 1.51 with rustup, for zeroconf 0.4 which requires const generics.
This commit is contained in:
parent
8d1a1a5ca6
commit
b62359c172
|
@ -2634,9 +2634,9 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "zerocopy"
|
||||
version = "0.3.0"
|
||||
version = "0.4.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "6580539ad917b7c026220c4b3f2c08d52ce54d6ce0dc491e66002e35388fab46"
|
||||
checksum = "ab9379fdcbd16727ce6f7f098154c35d303f092ba4c8e20719f584ad29b8aa47"
|
||||
dependencies = [
|
||||
"byteorder",
|
||||
"zerocopy-derive",
|
||||
|
|
|
@ -24,7 +24,7 @@ dirs = "3.0"
|
|||
indoc = "1.0"
|
||||
combine = "4.5"
|
||||
sled = "0.34"
|
||||
zerocopy = "0.3"
|
||||
zerocopy = "0.4"
|
||||
byteorder = "1.3"
|
||||
futures = "0.3"
|
||||
memmem = "0.1"
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
# Builder image with development dependencies.
|
||||
FROM bougyman/voidlinux:glibc as builder
|
||||
RUN xbps-install -Syu
|
||||
RUN xbps-install -Sy base-devel rust cargo cmake wget gnupg
|
||||
RUN xbps-install -Sy base-devel rustup cargo cmake wget gnupg
|
||||
RUN xbps-install -Sy openssl-devel libstdc++-devel
|
||||
RUN rustup-init -qy
|
||||
|
||||
# Install tini for signal processing and zombie killing
|
||||
ENV TINI_VERSION v0.19.0
|
||||
|
@ -16,7 +17,7 @@ RUN chmod +x /usr/local/bin/tini
|
|||
RUN mkdir -p /root/src
|
||||
WORKDIR /root/src
|
||||
ADD . ./
|
||||
RUN cargo build --release
|
||||
RUN . /root/.cargo/env && cargo build --release
|
||||
|
||||
# Final image
|
||||
FROM bougyman/voidlinux:tiny
|
||||
|
|
Loading…
Reference in New Issue