dockers/Freechat/Dockerfile
2020-08-02 19:16:30 -07:00

15 lines
517 B
Docker

FROM docker pull debian:sid-slim as sid
MAINTAINER Alejandro Santillana alejandros714@protonmail.com
# Pre-reqs for sql and building later on
RUN apt-get update && apt-get install -y curl libmysqlclient-dev build-essential
# Installing Nightly version of Rust as mysql_async requires it
RUN
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | \
sh -s -- -y --default-toolchain nightly-2020-01-24
ENV PATH="/root/.cargo/bin:${PATH}"
RUN cargo install diesel_cli --no-default-features --features mysql