/
Dockerfile.ubuntu
51 lines (36 loc) · 1.1 KB
/
Dockerfile.ubuntu
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
FROM ubuntu:14.04
MAINTAINER DrTrigon <dr.trigon@surfeu.ch>
# LABEL author.user1="Abdeali JK <abdealikothari@gmail.com>" \
# author.user2="DrTrigon <dr.trigon@surfeu.ch>"
# Initial update
RUN apt-get -y update
# Basic packages
RUN apt-get install -y \
build-essential \
make \
git
# Pip - install latest version so that wheels are used
RUN apt-get install -y python-pip && \
pip install -U pip
# Packages for setup
RUN apt-get install -y pkg-config
# ExifTool
RUN apt-get install -y exiftool
# OpenCV
RUN apt-get install -y python-opencv opencv-data
# Image Magick / wand
RUN apt-get install -y libmagickwand-dev python-dev
# avprobe / ffprobe
RUN apt-get install -y libav-tools
# ZXing
RUN apt-get install -y openjdk-7-jre
# Dlib
RUN apt-get install -y cmake libboost-python-dev python-dev
# ZBar
RUN apt-get install -y libzbar-dev python-dev
# Add the repository
RUN git clone https://github.com/pywikibot-catfiles/file-metadata.git /opt/file-metadata
# Test requirements
RUN pip install -r /opt/file-metadata/test-requirements.txt
# Install package
RUN pip install -e /opt/file-metadata --upgrade