Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.git
.gitignore
Dockerfile*
docker-compose*
README.md
LICENSE
.vscode
17 changes: 17 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FROM ubuntu:latest
WORKDIR /home/me/projects/perceptualdiff

# Install required apps.
RUN apt-get update && apt-get install -y \
g++ \
cmake \
libfreeimage-dev

# Copy all the code to docker.
COPY . .

# Build the app.
RUN make install DESTDIR="/home/me"

# Start the app which allows args to be passed in.
ENTRYPOINT [ "/home/me/projects/perceptualdiff/docker-entrypoint.sh" ]
3 changes: 3 additions & 0 deletions docker-entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

/home/me/usr/local/bin/perceptualdiff $@