-
Notifications
You must be signed in to change notification settings - Fork 14
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
62 changed files
with
3,485 additions
and
669 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,6 @@ | |
* | ||
# but not what we want to send in the build context | ||
!requirements.txt | ||
!requirements_dev.txt | ||
!sen2like | ||
!aux_data |
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,13 @@ | ||
# docker image based on miniconda image (debian:latest) | ||
# ARG MINICONDA_DOCKER_VERSION | ||
# FROM continuumio/miniconda3:${MINICONDA_DOCKER_VERSION} | ||
FROM continuumio/miniconda3:23.3.1-0 | ||
|
||
# set the working dir to /usr/local/sen2like | ||
WORKDIR /usr/local/sen2like | ||
|
||
# Create the environment: | ||
# copy requirements.txt from sources to docker image | ||
COPY ./requirements.txt . | ||
# create sen2like env from requirement | ||
RUN conda create -n sen2like --file requirements.txt -c conda-forge |
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,18 @@ | ||
# sen2like-base docker image is based on miniconda image (debian:latest) | ||
ARG SEN2LIKE_BUILD_IMAGE_TAG | ||
FROM ${SEN2LIKE_BUILD_IMAGE_TAG} | ||
LABEL stage=sen2like_tests | ||
|
||
# Update the environment: | ||
# copy dev/tests requirements from sources to docker image | ||
COPY ./requirements_dev.txt . | ||
|
||
# update sen2like env | ||
RUN conda install -n sen2like --file requirements_dev.txt -c conda-forge | ||
|
||
# install system dependencies in curent docker image mesa-glx | ||
RUN apt-get update \ | ||
&& apt-get install -y libgl1-mesa-glx \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
# image is ready for tests, usage must activate sen2like conda env |
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.