zwallet/docker/Dockerfile-builder-linux

26 lines
1.2 KiB
Plaintext
Executable File

#syntax=docker/dockerfile:1.2
FROM ubuntu:focal
RUN apt-get update
RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get -y install tzdata
RUN apt-get install -yq curl gnupg2
# Cuda
#RUN curl -o cuda-keyring_1.0-1_all.deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-keyring_1.0-1_all.deb
#RUN dpkg -i cuda-keyring_1.0-1_all.deb
#RUN apt-get update
#RUN DEBIAN_FRONTEND=noninteractive apt-get install -yq cuda
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | bash -s -- -y
ENV PATH $PATH:/root/.cargo/bin
RUN apt-get update
RUN apt-get install -yq unzip xz-utils clang cmake git ninja-build pkg-config libgtk-3-dev liblzma-dev libgstreamer-plugins-base1.0-dev
RUN cargo install cargo-make
RUN curl -o flutter.tar.xz https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.3.8-stable.tar.xz
RUN tar xvf flutter.tar.xz
RUN rm -f flutter.tar.xz
RUN mkdir /root/.zcash-params
RUN curl -o /root/.zcash-params/sapling-spend.params https://download.z.cash/downloads/sapling-spend.params
RUN curl -o /root/.zcash-params/sapling-output.params https://download.z.cash/downloads/sapling-output.params