forked from Bears-R-Us/arkouda
-
Notifications
You must be signed in to change notification settings - Fork 0
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
6 changed files
with
86 additions
and
7 deletions.
There are no files selected for viewing
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 almalinux:9.0 | ||
|
||
# Set user to root | ||
USER root | ||
|
||
# Set up environment variables | ||
COPY bashrc.chpl /root/ | ||
RUN echo 'source ~/.bashrc.chpl' >> ~/.bashrc && mv /root/bashrc.chpl /root/.bashrc.chpl >> ~/.bashrc.chpl | ||
|
||
# Install dependencies | ||
RUN dnf update -y && dnf install -y ca-certificates wget python3-pip && dnf update -y && dnf -y upgrade | ||
RUN dnf install -y gcc gcc-c++ m4 perl python3.12 python3-devel bash make gawk git cmake which diffutils llvm-devel clang clang-devel libcurl-devel | ||
|
||
# Download Chapel source | ||
RUN wget https://github.com/chapel-lang/chapel/releases/download/2.3.0/chapel-2.3.0.tar.gz && tar -xvf chapel-2.3.0.tar.gz | ||
|
||
# Install Chapel | ||
RUN source ~/.bashrc && cd $CHPL_HOME && make && chpl --version | ||
|
||
# install chapel-py | ||
RUN source ~/.bashrc && cd $CHPL_HOME && make chapel-py-venv | ||
|
||
WORKDIR /root | ||
|
||
ENTRYPOINT ["/bin/bash", "-l"] |
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,10 @@ | ||
export CHPL_HOME=/chapel-2.3.0 | ||
export CHPL_RE2=bundled | ||
export CHPL_GMP=bundled | ||
export CHPL_COMM=none | ||
export CHPL_TARGET_COMPILER=gnu | ||
export export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/chapel-2.3.0:/chapel-2.3.0/bin/linux64-x86_64 | ||
export CHPL_TARGET_CPU=native | ||
export CHPL_HOST_MEM=jemalloc | ||
export ARKOUDA_QUICK_COMPILE=true | ||
export ARKOUDA_SKIP_CHECK_DEPS=True |
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 |
---|---|---|
@@ -1,10 +1,14 @@ | ||
FROM ajpotts/almalinux-chapel:1.0.0 | ||
FROM ajpotts/almalinux-chapel:1.0.1 | ||
|
||
# Set user to root | ||
USER root | ||
|
||
|
||
RUN git clone https://github.com/Bears-R-Us/arkouda.git && source ~/.bashrc && cd arkouda && make install-deps DEP_BUILD_DIR=/dep/build && python3 -m pip install -e .[dev] | ||
# Download all the dependencies necessary for make install-deps | ||
RUN git clone https://github.com/Bears-R-Us/arkouda.git && source ~/.bashrc && cd arkouda && make install-deps DEP_BUILD_DIR=/dep/build | ||
|
||
# Download all the python packages necessary for the pip install | ||
COPY requirements.txt /root/ | ||
RUN mkdir /root/pip_deps && cd /root/pip_deps && python3 -m pip download -r /root/requirements.txt | ||
|
||
ENTRYPOINT ["/bin/bash", "-l"] |
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,38 @@ | ||
numpy>=1.24.1,<2.0 | ||
pandas>=1.4.0,!=2.2.0 | ||
pyzmq>=20.0.0 | ||
typeguard==2.10.0 | ||
tabulate | ||
pyfiglet | ||
versioneer | ||
matplotlib>=3.3.2 | ||
h5py>=3.7.0 | ||
types-tabulate | ||
pyarrow | ||
jupyter | ||
scipy<=1.13.1 | ||
pytest>=6.0 | ||
pytest-env | ||
pexpect | ||
Sphinx>=5.1.1 | ||
sphinx-argparse | ||
sphinx-autoapi | ||
sphinx-design | ||
sphinx-autodoc-typehints | ||
sphinx-autopackagesummary | ||
furo | ||
myst-parser | ||
linkify-it-py | ||
typed-ast | ||
flake8 | ||
mypy>=0.931 | ||
black | ||
isort | ||
pytest-json-report | ||
pytest-benchmark | ||
mathjax | ||
pandas-stubs | ||
types-python-dateutil | ||
blosc2>=2.3.0 | ||
numexpr>=2.6.2 | ||
tables>=3.8.0 |
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
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 |
---|---|---|
@@ -1,7 +1,9 @@ | ||
#!/bin/bash | ||
|
||
VERSION=1.0.0 | ||
VERSION=1.0.1 | ||
IMAGE_NAME=almalinux-chapel | ||
REPO_NAME=ajpotts | ||
|
||
docker build -t almalinux-chapel:$VERSION almalinux/ | ||
docker tag almalinux-chapel:$VERSION ajpotts/almalinux-chapel:$VERSION | ||
docker push ajpotts/almalinux-chapel:$VERSION | ||
docker build -t $IMAGE_NAME:$VERSION docker/$IMAGE_NAME/ | ||
#docker tag $IMAGE_NAME:$VERSION $REPO_NAME/$IMAGE_NAME:$VERSION | ||
#docker push $REPO_NAME/$IMAGE_NAME:$VERSION |