From 0d9e8ec471f99a46b75421cb86d170ec29fce735 Mon Sep 17 00:00:00 2001 From: Levent Kaya Date: Mon, 30 Jun 2025 14:47:45 +0300 Subject: [test] docker suite for testing --- test/Dockerfile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 test/Dockerfile (limited to 'test/Dockerfile') diff --git a/test/Dockerfile b/test/Dockerfile new file mode 100644 index 0000000..31debe0 --- /dev/null +++ b/test/Dockerfile @@ -0,0 +1,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"] \ No newline at end of file -- cgit v1.2.3