diff options
Diffstat (limited to 'test/Dockerfile')
| -rw-r--r-- | test/Dockerfile | 20 |
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 |
