summaryrefslogtreecommitdiff
path: root/test/Dockerfile
blob: 31debe06f8f1ad24a1b8a1c67e58c3592ec4d06e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM ubuntu:22.04

# Install required packages
RUN apt-get update && apt-get install -y \
    build-essential \
    xvfb \
    imagemagick \
    && rm -rf /var/lib/apt/lists/*

# Create app directory
WORKDIR /app

# Copy your library and any dependencies
COPY . /app

# Make sure binaries are executable
RUN chmod +x /app/*

# Accept program name as argument and run with virtual framebuffer
ENTRYPOINT ["xvfb-run", "-a"]