forked from SUNET/docker-pyff
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile.in
24 lines (24 loc) · 901 Bytes
/
Dockerfile.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM debian:stable
MAINTAINER Leif Johansson <[email protected]>
ENV ENV LOGLEVEL INFO
ENV PIPELINE mdx.fd
ENV DATADIR /opt/pyff
ENV PUBLIC_URL "http://localhost:8080"
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
RUN apt-get -q update && apt-get -y upgrade && apt-get install -y locales python3 python3-venv python3-pip git-core swig libyaml-dev libyaml-dev python3-dev build-essential libxml2-dev libxslt-dev libz-dev wget
RUN locale-gen en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
RUN pip3 install setuptools
RUN pip3 install --upgrade pip
RUN pip3 install ${PACKAGE}
RUN pip3 install --upgrade pipdeptree pykcs11 ${EXTRA_PACKAGES}
RUN pipdeptree
EXPOSE 8080
ADD ${ENTRYPOINT}.sh /${ENTRYPOINT}.sh
ADD debug.ini /debug.ini
ADD warn.ini /warn.ini
ADD mdx.fd /mdx.fd
RUN chmod a+x /${ENTRYPOINT}.sh
ENTRYPOINT ["/${ENTRYPOINT}.sh"]