-
Notifications
You must be signed in to change notification settings - Fork 6
/
Dockerfile
43 lines (33 loc) · 1.17 KB
/
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
ARG img_user=ghcr.io/driplineorg
ARG img_repo=dripline-cpp
#ARG img_tag=hotfix_2.6.2
ARG img_tag=v2.9.1
#ARG img_arch=arm
FROM ${img_user}/${img_repo}:${img_tag}
#FROM ${img_user}/${img_repo}:${img_tag}-${img_arch}
#FROM dlc_temp
## would prefer not to do this, just run ldconfig after the build to get things
## into the ld.so.conf cache... use this only when developing and adding libs
ENV LD_LIBRARY_PATH /usr/local/lib
RUN apt-get update && \
apt-get clean && \
apt-get --fix-missing -y install \
libpq-dev && \
rm -rf /var/lib/apt/lists/*
RUN pip install ipython
RUN pip install pytest
COPY module_bindings /usr/local/src_py/module_bindings
COPY dripline /usr/local/src_py/dripline
COPY bin /usr/local/src_py/bin
COPY .git /usr/local/src_py/.git
COPY pyproject.toml /usr/local/src_py/pyproject.toml
COPY setup.py /usr/local/src_py/setup.py
COPY CMakeLists.txt /usr/local/src_py/CMakeLists.txt
COPY tests /usr/local/src_py/tests
COPY LICENSE /usr/local/src_py/LICENSE
COPY README.md /usr/local/src_py/README.md
COPY pytest.ini /usr/local/src_py/pytest.ini
RUN pip install -v /usr/local/src_py
#RUN cd /usr/local/src_py &&\
# python setup.py install
RUN ldconfig