-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
24 lines (19 loc) · 1.03 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
## Dockerfile for ROSARUM.
FROM ubuntu:22.04
LABEL maintainer="[email protected]"
LABEL description="Docker image for the ROSARUM backdoor detection benchmark"
RUN apt-get clean && apt-get update
# Copy and all target programs.
WORKDIR /root/rosarum/
COPY targets/ .
# Install target program dependencies.
RUN apt-get update && apt-get install -y autoconf autogen automake bison build-essential cmake \
libasound2-dev libboost-all-dev libbrotli-dev libbz2-dev libcap-dev libdeflate-dev \
libflac-dev libharfbuzz-dev libjbig-dev libjpeg-dev liblerc-dev liblcms2-dev liblzma-dev \
libmp3lame-dev libmpg123-dev libogg-dev libopenjp2-7-dev libopus-dev libpam-dev \
libsqlite3-dev libssl-dev libtiff-dev libtool libvorbis-dev libwebp-dev libxml2-dev \
libzstd-dev netcat-traditional pkg-config re2c zip
# Install tclsh, needed by the SQLite3 benchmark.
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y tclsh
# Build all target programs with all 3 variants (safe, backdoored, ground-truth).
RUN make all