forked from FastFlowLM/FastFlowLM
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
44 lines (39 loc) · 1.05 KB
/
Dockerfile
File metadata and controls
44 lines (39 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
ARG BASE_IMAGE
FROM ${BASE_IMAGE}
LABEL org.opencontainers.image.description="FastFlowLM build environment with all dependencies pre-installed"
LABEL org.opencontainers.image.source="https://github.com/FastFlowLM/FastFlowLM"
# Prevent interactive prompts during installation
ENV DEBIAN_FRONTEND=noninteractive
ARG UBUNTU_PPA=""
# Install all build dependencies
RUN apt update && apt install -y \
software-properties-common \
&& if [ -n "$UBUNTU_PPA" ]; then add-apt-repository -y "$UBUNTU_PPA"; fi \
&& apt update && apt install -y \
build-essential \
cargo \
cmake \
debhelper-compat \
dpkg-dev \
fakeroot \
git \
libavcodec-dev \
libavformat-dev \
libavutil-dev \
libboost-dev \
libboost-program-options-dev \
libcurl4-openssl-dev \
libdrm-dev \
libfftw3-dev \
libreadline-dev \
libswresample-dev \
libswscale-dev \
libxrt-dev \
ninja-build \
patchelf \
pkg-config \
rustc \
uuid-dev \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /workspace
CMD ["/bin/bash"]