22 lines
540 B
Text
22 lines
540 B
Text
|
FROM rust:slim
|
||
|
|
||
|
WORKDIR /opt
|
||
|
|
||
|
# Install needed dependecies
|
||
|
RUN echo "deb http://deb.debian.org/debian/ stretch main contrib non-free" >> /etc/apt/sources.list
|
||
|
|
||
|
RUN echo "deb-src http://deb.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 pluriton-interface pluriton-interface
|
||
|
|
||
|
WORKDIR /opt/pluriton-interface
|
||
|
|
||
|
CMD cargo run --no-default-features
|
||
|
|
||
|
|
||
|
|