Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
41 lines (33 sloc) 1.1 KB
# Default arch. Pass in like "--build-arg arch=arm64".
# Our circleci arm64 build uses this specifically.
ARG arch=x86_64
# Multiarch Ubuntu Bionic 18.04. arches: x86_64, arm64, etc.
FROM multiarch/ubuntu-core:$arch-bionic
RUN apt-get update
RUN apt-get install -y \
git-core \
g++-8 \
cmake \
python \
python2.7 \
python2.7-dev \
python-numpy \
libyaml-dev \
RUN pip install --upgrade setuptools
RUN pip install wheel
ENV CC gcc-8
ENV CXX g++-8
ADD . /usr/local/src/htm.core
WORKDIR /usr/local/src/htm.core
# Explicitly specify --cache-dir, --build, and --no-clean so that build
# artifacts may be extracted from the container later. Final built python
# packages can be found in /usr/local/src/htm.core/bindings/py/dist
RUN pip install \
# --cache-dir /usr/local/src/htm.core/pip-cache \
# --build /usr/local/src/htm.core/pip-build \
# --no-clean \
-r bindings/py/packaging/requirements.txt
RUN python install
You can’t perform that action at this time.