Skip to content
Snippets Groups Projects
Commit 4b90321d authored by Sergey Yakubov's avatar Sergey Yakubov
Browse files

update dockerfiles, fix bug

parent bcefa6b1
Branches
Tags
No related merge requests found
......@@ -2,18 +2,14 @@ from ubuntu:16.04
ENV GOPATH /tmp
RUN apt update && apt install -y cmake g++ golang zlib1g-dev python cython python-numpy python3 cython3 python3-numpy git wget
ADD install_curl.sh install_curl.sh
RUN ./install_curl.sh /curl
RUN apt install -y python-pip python3-pip && pip install --upgrade cython && pip3 install --upgrade cython
RUN pip3 install sphinx
ADD install_cmake.sh install_cmake.sh
RUN ./install_cmake.sh
RUN apt update && apt install -y g++ golang zlib1g-dev python cython python-numpy python3 cython3 python3-numpy \
git wget python-pip python3-pip && \
pip --no-cache-dir install --upgrade cython && pip3 --no-cache-dir install --upgrade cython && pip3 --no-cache-dir install sphinx && \
./install_curl.sh /curl && ./install_cmake.sh && \
apt-get purge -y --auto-remove
ADD build.sh /bin/build.sh
#!/usr/bin/env bash
set -e
docker build -t yakser/asapo-env:ubuntu16.04 .
docker push yakser/asapo-env:ubuntu16.04
#!/usr/bin/env bash
docker build -t yakser/asapo-env:manylinux2010 .
docker build -t yakser/asapo-env:manylinux2010_ .
./docker-squash yakser/asapo-env:manylinux2010_ -t yakser/asapo-env:manylinux2010
docker push yakser/asapo-env:manylinux2010
#!/usr/bin/python3
# -*- coding: utf-8 -*-
import re
import sys
from docker_squash.cli import run
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(run())
......@@ -6,7 +6,7 @@ from Cython.Build import cythonize
import numpy
module = Extension("asapo_producer", ["asapo_producer.pyx"],
extra_objects=[$<TARGET_FILE:asapo-producer>,
extra_objects=['$<TARGET_FILE:asapo-producer>',
'@CURL_LIBRARIES@'],
include_dirs=["@ASAPO_CXX_COMMON_INCLUDE_DIR@","@ASAPO_PRODUCER_INCLUDE_DIR@",numpy.get_include()],
extra_compile_args=@EXTRA_COMPILE_ARGS@,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment