-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #433 from AllenInstitute/docker
try adding docker to workflow
- Loading branch information
Showing
7 changed files
with
112 additions
and
76 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
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
FROM ubuntu:22.04 | ||
# base requirements | ||
RUN apt-get update | ||
RUN apt-get install -y coreutils | ||
RUN apt-get install -y libgl1-mesa-glx | ||
RUN apt-get install -y libglib2.0-0 | ||
RUN apt-get install -y python3 python3-pip | ||
RUN apt-get install -y git | ||
|
||
RUN git config --global --add safe.directory /__w/openscope_databook/openscope_databook | ||
|
||
# copy databook setup files | ||
COPY requirements.txt ./openscope_databook/requirements.txt | ||
COPY setup.py ./openscope_databook/setup.py | ||
COPY README.md ./openscope_databook/README.md | ||
COPY LICENSE.txt ./openscope_databook/LICENSE.txt | ||
COPY databook_utils ./openscope_databook/databook_utils | ||
|
||
# for reasons I don't understand, these must be installed before the rest the requirements | ||
RUN pip install numpy cython | ||
# set up databook dependencies | ||
RUN pip install -e ./openscope_databook[dev] |
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
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