-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
73 additions
and
15 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
FROM quay.io/pypa/manylinux2010_x86_64 | ||
RUN yum -y install sudo wget | ||
|
||
RUN wget https://cmake.org/files/v3.15/cmake-3.15.4-Linux-x86_64.sh -q | ||
RUN mkdir /opt/cmake | ||
RUN printf "y\nn\n" | sh cmake-3.15.4-Linux-x86_64.sh --prefix=/opt/cmake > /dev/null | ||
RUN rm -fr cmake*.sh /opt/cmake/doc | ||
RUN rm -fr /opt/cmake/bin/cmake-gui | ||
RUN rm -fr /opt/cmake/bin/ccmake | ||
RUN rm -fr /opt/cmake/bin/cpack | ||
RUN ln -s /opt/cmake/bin/cmake /usr/local/bin/cmake | ||
RUN ln -s /opt/cmake/bin/ctest /usr/local/bin/ctest | ||
|
||
RUN rm -rf /opt/python/cp37-cp37m/bin/auditwheel | ||
RUN cp -arf /opt/python/cp37-cp37m/* /usr/local/ | ||
ENV PATH=/usr/local/bin:$PATH | ||
RUN python3 -m pip install pybind11 cython codecov mock flake8 pytest pytest-cov traitlets ipywidgets faker psutil zerorpc | ||
|
||
# install node | ||
RUN curl -sL https://rpm.nodesource.com/setup_10.x | sudo bash - | ||
RUN yum install -y nodejs | ||
|
||
RUN npm install --global yarn | ||
RUN yarn --version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
FROM quay.io/pypa/manylinux2014_x86_64 | ||
RUN yum -y install sudo wget | ||
|
||
RUN wget https://cmake.org/files/v3.15/cmake-3.15.4-Linux-x86_64.sh -q | ||
RUN mkdir /opt/cmake | ||
RUN printf "y\nn\n" | sh cmake-3.15.4-Linux-x86_64.sh --prefix=/opt/cmake > /dev/null | ||
RUN rm -fr cmake*.sh /opt/cmake/doc | ||
RUN rm -fr /opt/cmake/bin/cmake-gui | ||
RUN rm -fr /opt/cmake/bin/ccmake | ||
RUN rm -fr /opt/cmake/bin/cpack | ||
RUN ln -s /opt/cmake/bin/cmake /usr/local/bin/cmake | ||
RUN ln -s /opt/cmake/bin/ctest /usr/local/bin/ctest | ||
|
||
RUN rm -rf /opt/python/cp37-cp37m/bin/auditwheel | ||
RUN cp -arf /opt/python/cp37-cp37m/* /usr/local/ | ||
ENV PATH=/usr/local/bin:$PATH | ||
RUN python3 -m pip install pybind11 cython codecov mock flake8 pytest pytest-cov traitlets ipywidgets faker psutil zerorpc | ||
|
||
# install node | ||
RUN curl -sL https://rpm.nodesource.com/setup_10.x | sudo bash - | ||
RUN yum install -y nodejs | ||
|
||
RUN npm install --global yarn | ||
RUN yarn --version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
FROM python:3.7 | ||
RUN apt-get update | ||
RUN apt-get -y install apt-transport-https sudo | ||
RUN apt-get -y remove python3 | ||
|
||
RUN wget https://cmake.org/files/v3.15/cmake-3.15.4-Linux-x86_64.sh -q | ||
RUN mkdir /opt/cmake | ||
RUN printf "y\nn\n" | sh cmake-3.15.4-Linux-x86_64.sh --prefix=/opt/cmake > /dev/null | ||
RUN rm -fr cmake*.sh /opt/cmake/doc | ||
RUN rm -fr /opt/cmake/bin/cmake-gui | ||
RUN rm -fr /opt/cmake/bin/ccmake | ||
RUN rm -fr /opt/cmake/bin/cpack | ||
RUN ln -s /opt/cmake/bin/cmake /usr/local/bin/cmake | ||
RUN ln -s /opt/cmake/bin/ctest /usr/local/bin/ctest | ||
|
||
RUN python3.7 -m pip install numpy pandas cython codecov nose2 mock flake8 pytest pytest-cov traitlets ipywidgets faker psutil zerorpc | ||
|
||
# install node | ||
RUN curl -sL https://deb.nodesource.com/setup_10.x | sudo bash - | ||
RUN apt-get -y install nodejs | ||
|
||
RUN npm install --global yarn | ||
RUN yarn --version | ||
|
||
|