Skip to content

Commit

Permalink
Add dock nite (#616)
Browse files Browse the repository at this point in the history
* merge resolved

* add dockerfile for nightly containers

* fix for merlin repo code update

* fix for merlin repo code update

* remove env var

* add in the actual pull of the main branch

* hard code main and remove unnecessary args
  • Loading branch information
jperez999 authored Sep 9, 2022
1 parent f6ab2a2 commit 5e585a9
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions docker/dockerfile-nightly.merlin
Original file line number Diff line number Diff line change
Expand Up @@ -6,31 +6,23 @@ ARG FULL_IMAGE=nvcr.io/nvstaging/merlin/merlin-${CONTAINER}:${VERSION}

FROM ${FULL_IMAGE} as current

# Args
ARG CORE_VER=main
ARG MODELS_VER=main
ARG NVTAB_VER=main
ARG SYSTEMS_VER=main
ARG TF4REC_VER=main


# Add Merlin Repo
RUN cd /Merlin && git fetch && git checkout main
RUN cd /Merlin && git fetch && git checkout main && git pull origin main

# Install Merlin Core main branch
RUN cd /core/ && git fetch && git checkout ${CORE_VER} && pip install . --no-deps
RUN cd /core/ && git fetch && git checkout main && pip install . --no-deps

# Install NVTabular main branch
RUN cd /nvtabular/ && git fetch && git checkout ${NVTAB_VER} && pip install . --no-deps
RUN cd /nvtabular/ && git fetch && git checkout main && pip install . --no-deps

# Install Merlin Systems main branch
RUN cd /systems/ && git fetch && git checkout ${SYSTEMS_VER} && pip install --no-deps .
RUN cd /systems/ && git fetch && git checkout main && pip install --no-deps .

# Install Models main branch
RUN cd /models/ && git fetch && git checkout ${MODELS_VER} && pip install . --no-deps;
RUN cd /models/ && git fetch && git checkout main && pip install . --no-deps;

# Install Transformers4Rec main branch
RUN cd /transformers4rec/ && git fetch && git checkout ${TF4REC_VER} && pip install . --no-deps
RUN cd /transformers4rec/ && git fetch && git checkout main && pip install . --no-deps

HEALTHCHECK NONE
CMD ["/bin/bash"]
Expand Down

0 comments on commit 5e585a9

Please sign in to comment.