summaryrefslogtreecommitdiff
path: root/test/Dockerfile
diff options
context:
space:
mode:
authorLevent Kaya <levent@dev>2025-06-30 14:47:45 +0300
committerLevent Kaya <levent@dev>2025-06-30 14:47:45 +0300
commit0d9e8ec471f99a46b75421cb86d170ec29fce735 (patch)
tree8109642296c8c374ea6360e547fa08742f2adfe8 /test/Dockerfile
parentbc7af8593354d2c070fd482aeb0b4394a0b9dbdb (diff)
[test] docker suite for testing
Diffstat (limited to 'test/Dockerfile')
-rw-r--r--test/Dockerfile20
1 files changed, 20 insertions, 0 deletions
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