You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
FROM postgres:13.3
|
|
|
|
|
|
|
|
RUN apt update && apt upgrade -y
|
|
|
|
RUN apt install -y curl build-essential libpq-dev iproute2
|
|
|
|
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable --profile minimal
|
|
|
|
ENV PATH /root/.cargo/bin:$PATH
|
|
|
|
RUN rustup target add x86_64-unknown-linux-musl
|
|
|
|
RUN cargo install diesel_cli --no-default-features --features postgres
|
|
|
|
|
|
|
|
RUN mkdir -p /unki
|
|
|
|
COPY u_db_entrypoint.sh /unki/
|