Skip to content

Commit

Permalink
img
Browse files Browse the repository at this point in the history
  • Loading branch information
chaen committed Oct 1, 2024
1 parent 0074d93 commit 9b78e91
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ parts
bin
develop-eggs
.installed.cfg
*.whl

# Translations
*.mo
Expand Down
7 changes: 5 additions & 2 deletions extensions/containers/services/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,18 @@ FROM ghcr.io/diracgrid/diracx/services:dev

#Extension
ENV DIRACX_EXTENSIONS="gubbins,diracx"
ENV GUBBINS_IMAGE_PACKAGES=core,db,routers,client

ARG EXTRA_PACKAGES_TO_INSTALL
ARG EXTENSION_CUSTOM_SOURCES_TO_INSTALL

# ARG EXTENSION_CUSTOM_SOURCES_TO_INSTALL


# RUN --mount=type=bind,source=.,target=/bindmount DIRACX_CUSTOM_SOURCE_PREFIXES=/bindmount /entrypoint.sh bash -ec "ls /bindmount/* "

# RUN /entrypoint.sh bash -ec "IFS=',' read -r -a extra_pkg_array <<< "${EXTRA_PACKAGES_TO_INSTALL}" && echo ${extra_pkg_array} && echo ${EXTRA_PACKAGES_TO_INSTALL} && echo PROUT "

RUN --mount=type=bind,source=.,target=/bindmount DIRACX_CUSTOM_SOURCE_PREFIXES=/bindmount /entrypoint.sh bash -exc "ls /bindmount && pip install --no-deps ${EXTRA_PACKAGES_TO_INSTALL} ${EXTENSION_CUSTOM_SOURCES_TO_INSTALL} && echo 'Running pip check' && pip check"
RUN --mount=type=bind,source=.,target=/bindmount GUBBINS_CUSTOM_SOURCE_PREFIXES=/bindmount /entrypoint.sh bash -exc "ls /bindmount && echo 'Running pip check' && pip check"



Expand Down

0 comments on commit 9b78e91

Please sign in to comment.