initial setup
This commit is contained in:
14
Freechat/Dockerfile
Normal file
14
Freechat/Dockerfile
Normal file
@@ -0,0 +1,14 @@
|
||||
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
|
||||
Reference in New Issue
Block a user