Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
marjo-luc committed Oct 16, 2024
1 parent d587bf0 commit bb37b37
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion algorithm_configs/algorithm_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
algorithm_name: shah-get-dem-nasa-ogc
algorithm_version: nasa-ogc
repository_url: https://github.com/MAAP-Project/get-dem.git
docker_container_url: mas.dit.maap-project.org/root/maap-workspaces/base_images/dps:dps_base_image
docker_container_url: ghcr.io/maap-project/maap_base:main

# fill out these fields
# explain what this algorithm does
Expand Down
6 changes: 6 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,16 @@ FROM ${BASE_IMAGE_NAME}
USER root
WORKDIR /app

ARG REPO_URL_WITH_TOKEN
ARG REPO_NAME
ARG BRANCH
ARG BUILD_CMD

RUN git clone ${REPO_URL_WITH_TOKEN} && \
cd ${REPO_NAME} && \
git checkout ${BRANCH} && \
chmod -R 775 .

RUN bash ${BUILD_CMD} && conda clean -afy

CMD ["/bin/bash"]

0 comments on commit bb37b37

Please sign in to comment.