basabuuka-prototype-rust-dc/build/deb-rust-interface/Dockerfile

21 lines
447 B
Text
Raw Normal View History

2024-08-25 21:55:08 +02:00
FROM rust:slim
WORKDIR /opt
# Install needed dependecies
RUN echo "deb http://archive.debian.org/debian stretch main contrib non-free" > /etc/apt/sources.list
#RUN apt-get update && apt-cache search libssl
RUN apt-get update && apt-get install -y \
build-essential checkinstall zlib1g-dev pkg-config libssl1.0-dev -y
#COPY rust-proto-interface rust-proto-interface
2024-08-25 21:55:08 +02:00
WORKDIR /opt/rust-proto-interface
CMD cargo run --no-default-features