Skip to content

Commit

Permalink
Merge pull request #95 from metno/issue85_bug_in_dockerfile
Browse files Browse the repository at this point in the history
Issue85 bug in dockerfile
  • Loading branch information
mortenwh authored May 9, 2022
2 parents 3bab6e3 + 18cf62f commit 2c5851e
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions container/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ LABEL issues="/~https://github.com/metno/container-dmci/issues"
LABEL description="Discovery Metadata Catalog Ingestor used in the S-ENDA project."

# Make us able to change version and repo when building
ARG DMCI_VERION=main
ARG DMCI_VERSION=main
ARG DMCI_REPO=/~https://github.com/metno/discovery-metadata-catalog-ingestor
ARG MMD_REPO=/~https://github.com/metno/mmd
ARG MMD_VERSION=v3.3
Expand Down Expand Up @@ -35,12 +35,8 @@ RUN pip3 install --upgrade setuptools pip
# Install our runtime server
RUN pip3 install "gunicorn~=20.1"

# FIXME: At later stage run installation with pip3 directly from source
RUN pip3 install "git+${DMCI_REPO}@${DMCI_VERION}#dmci=discovery-metadata-catalog-ingestor"

# Install from Git
#RUN git clone --depth 1 --branch ${DMCI_VERION} ${DMCI_REPO} /dmci
#RUN pip3 install -e /dmci
# Install from git
RUN pip3 install "git+${DMCI_REPO}@${DMCI_VERSION}#dmci=discovery-metadata-catalog-ingestor"

# Download MMD
RUN git clone --depth 1 --branch ${MMD_VERSION} ${MMD_REPO} /tmp/mmd; \
Expand Down

0 comments on commit 2c5851e

Please sign in to comment.