* Install exiftool 10.20 (just like in .travis.yml) * Configure locales fixes #248
This commit is contained in:
parent
f23894d426
commit
fd3cab4035
18
Dockerfile
18
Dockerfile
|
@ -3,11 +3,27 @@ FROM debian:jessie
|
|||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
RUN apt-get update -y && \
|
||||
apt-get install -y --no-install-recommends ca-certificates libimage-exiftool-perl python2.7 python-pip python-pyexiv2 && \
|
||||
apt-get install -y --no-install-recommends ca-certificates libimage-exiftool-perl python2.7 python-pip python-pyexiv2 wget make && \
|
||||
pip install --upgrade pip setuptools && \
|
||||
apt-get autoremove -y && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN apt-get update -qq && \
|
||||
apt-get install -y locales -qq && \
|
||||
locale-gen en_US.UTF-8 en_us && \
|
||||
dpkg-reconfigure locales && \
|
||||
locale-gen C.UTF-8 && \
|
||||
/usr/sbin/update-locale LANG=C.UTF-8
|
||||
|
||||
ENV LANG C.UTF-8
|
||||
ENV LANGUAGE C.UTF-8
|
||||
ENV LC_ALL C.UTF-8
|
||||
|
||||
RUN wget http://www.sno.phy.queensu.ca/~phil/exiftool/Image-ExifTool-10.20.tar.gz && \
|
||||
gzip -dc Image-ExifTool-10.20.tar.gz | tar -xf - && \
|
||||
cd Image-ExifTool-10.20 && perl Makefile.PL && \
|
||||
make install && cd ../ && rm -r Image-ExifTool-10.20
|
||||
|
||||
COPY requirements.txt /opt/elodie/requirements.txt
|
||||
COPY docs/requirements.txt /opt/elodie/docs/requirements.txt
|
||||
COPY elodie/tests/requirements.txt /opt/elodie/elodie/tests/requirements.txt
|
||||
|
|
Loading…
Reference in New Issue