forked from erhanbaris/SymSpellPlusPlus
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
29 lines (18 loc) · 620 Bytes
/
Dockerfile
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
# Copyright 2019 Qwant Research. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
FROM debian:9-slim
LABEL AUTHORS="Qwant Research"
ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
ENV TZ=Europe/Paris
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN apt-get -y update && \
apt-get -y install \
cmake \
g++ \
libyaml-cpp-dev \
git \
cmake
COPY . /opt/SymSpellPlusPlus
WORKDIR /opt/SymSpellPlusPlus
RUN ./install.sh
RUN groupadd -r qnlp && useradd --system -s /bin/bash -g qnlp qnlp
USER qnlp