-
Notifications
You must be signed in to change notification settings - Fork 38
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
74 changed files
with
9,053 additions
and
2,434 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,23 @@ | ||
FROM ubuntu:20.04 | ||
|
||
# Use --build-arg #.#.# when building to use other version | ||
ARG JAVA_MAJOR_VERSION=11 | ||
ARG ORBDETPY_VERSION=2.0.7 | ||
|
||
# Install orbdetpy dependencies | ||
RUN apt-get update && \ | ||
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ | ||
openjdk-${JAVA_MAJOR_VERSION}-jdk software-properties-common python3-pip python3-venv wget && \ | ||
add-apt-repository ppa:deadsnakes/ppa | ||
|
||
# Install orbdetpy into virtual environment and update orekit-data | ||
RUN cd && \ | ||
python3 -m venv env_orbdetpy && \ | ||
. env_orbdetpy/bin/activate && \ | ||
pip install orbdetpy==${ORBDETPY_VERSION} ipython && \ | ||
python -c "from orbdetpy.astro_data import update_data; update_data();" | ||
|
||
RUN cd && \ | ||
wget -qO- https://github.com/ut-astria/orbdetpy/archive/refs/tags/${ORBDETPY_VERSION}.tar.gz | \ | ||
tar -xvz -C /root/ && \ | ||
mv orbdet* orbdetpy |
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
Oops, something went wrong.