Commit 58ac9c51 authored by Jannik Hoelling's avatar Jannik Hoelling
Browse files

cleanup rustls

parent 6c3f16a0
# syntax=docker/dockerfile:1
FROM tls-baseimage as tls-rustls
RUN apk add cargo
#ARG VERSION=0.20.0
WORKDIR /build
#RUN git clone --depth=1 --branch=v/${VERSION} https://github.com/ctz/rustls
#ADD tlsclient/tlsclient.rs /build/rustls/rustls-mio/examples/tlsclient.rs
#ADD tlsserver/tlsserver.rs /build/rustls/rustls-mio/examples/tlsserver.rs
#ADD Cargo.toml /build/rustls/alpaca/Cargo.toml
#ADD Cargo-rustls.toml /build/rustls/Cargo.toml
ADD server /build/server
ADD client /build/client
ADD Cargo.toml /build/Cargo.toml
RUN cargo build --release
#WORKDIR /build/rustls/rustls-mio
#RUN cargo build --release --example tlsclient --features "dangerous_configuration"
#RUN cargo build --release --example tlsserver --features "dangerous_configuration"
RUN ls -l /build/target
RUN ls -l /build/
RUN mv /build/target/release/server /server
RUN mv /build/target/release/client /client
COPY --from=tls-openssl /openssl-client /openssl-client
WORKDIR /
CMD ["/server"]
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment