File: Dockerfile

package info (click to toggle)
pushpin 1.41.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,056 kB
  • sloc: cpp: 44,382; python: 1,305; sh: 139; makefile: 73; javascript: 34; php: 27
file content (23 lines) | stat: -rw-r--r-- 662 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM --platform=linux/amd64 ubuntu:24.04

ENV TZ=US \
    DEBIAN_FRONTEND=noninteractive

RUN apt-get -qq update && apt-get install -y zstd git pkg-config curl make g++ libssl-dev libzmq3-dev qtbase5-dev libboost-dev black

# install toolchain
RUN curl https://sh.rustup.rs -sSf | \
    sh -s -- --default-toolchain stable-x86_64-unknown-linux-gnu -y

ENV RUSTUP_HOME="/root/.rustup" \
    CARGO_HOME="/root/.cargo" \
    PATH=/root/.cargo/bin:$PATH

# Keep in sync with minimum support Rust Version for Pushpin 
RUN rustup install 1.75.0-x86_64-unknown-linux-gnu

RUN cargo install cargo-audit

RUN rustup component add rustfmt

RUN rustup component add clippy