-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathDockerfile
More file actions
25 lines (20 loc) · 811 Bytes
/
Copy pathDockerfile
File metadata and controls
25 lines (20 loc) · 811 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Start from Ubuntu 18.04
FROM ubuntu:18.04
# Install required packages
RUN apt-get update && \
apt-get install -y wget unzip
# Download ANTs 2.4.3 and install it
RUN wget https://github.com/ANTsX/ANTs/releases/download/v2.4.3/ants-2.4.3-ubuntu-18.04-X64-gcc.zip && \
unzip ants-2.4.3-ubuntu-18.04-X64-gcc.zip && \
rm ants-2.4.3-ubuntu-18.04-X64-gcc.zip && \
mv ants-2.4.3-ubuntu-18.04-X64-gcc /opt/ants && \
export ANTSPATH=/opt/ants/bin/
# Clone FaceOff repository and set it as the working directory
RUN apt-get update && \
apt-get install -y git && \
git clone https://github.com/srikash/FaceOff.git /opt/FaceOff
WORKDIR /opt/FaceOff
# Set ANTs path in environment variables
ENV ANTSPATH=/opt/ants/bin/
# Set entry point as FaceOff script
ENTRYPOINT ["/opt/FaceOff/FaceOff"]