dockers/Freechat/Dockerfile

15 lines
517 B
Docker
Raw Normal View History

2020-08-03 02:16:30 +00:00
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