Update dockerized setup docs
3 unresolved threads
3 unresolved threads
Merge request reports
Activity
20 20 .. code-block:: sh 21 21 22 22 make clean 23 docker build -t brooks.aoc.nrao.edu:5000/ssa-docker/workspaces/base:local -f Dockerfile.base . 24 docker build -t brooks.aoc.nrao.edu:5000/ssa-docker/workspaces/cache:local -f Dockerfile.cache . --build-arg BASE_IMAGE_TAG=local --build-arg BASE_REGISTRY_URL="brooks.aoc.nrao.edu:5000/ssa-docker/workspaces" 25 docker compose -f docker-compose.yml -f docker-compose.local.yml up -e TAG=local 23 docker build -t ssa-containers.aoc.nrao.edu:5000/ssa-docker/workspaces/base:local -f Dockerfile.base . 24 docker build -t ssa-containers.aoc.nrao.edu:5000/ssa-docker/workspaces/cache:local -f Dockerfile.cache . --build-arg BASE_IMAGE_TAG=local --build-arg BASE_REGISTRY_URL="ssa-containers.aoc.nrao.edu:5000/ssa-docker/workspaces" 25 docker compose -f docker-compose.yml -f docker-compose.local.yml build -e TAG=local 25 docker compose -f docker-compose.yml -f docker-compose.local.yml build -e TAG=local 26 26 27 This will build your local development images and containers 27 This will build your local development images and containers. 28 28 29 Note: If you notice 'no such file or directory' errors with the docker compose command, try the following: 29 Then, do the following to allow worklows to execute: 30 30 31 1. Cancel the docker compose command 31 .. code-block:: sh 32 33 ssh-keygen ~/.ssh/condor_transfer 34 cd workspaces/lustre/aoc/cluster/pipeline/docker/workspaces/sbin/ 35 touch curator 36 touch ingest 37 touch productfetcher I got an error when I tried running a calibration saying that it couldn't find
productfetcher
, which went away when I added a fake one.changed this line in version 2 of the diff
102 - 103 -# Link to the host's SSH key and clone over SSH (non-public repo) 104 -RUN --mount=type=secret,id=host_ssh_key,required \ 105 - ln -s /run/secrets/host_ssh_key ~/.ssh/id_rsa \ 106 - && git clone --depth=1 gitlab@gitlab.nrao.edu:scg/condor_transfer_plugin.git \ 107 - && cp condor_transfer_plugin/nraorsync_plugin.py /usr/libexec/condor/ 108 - 109 -# Remove SSH stuff 110 -RUN rm -rf ~/.ssh/ 111 +COPY ./condor_transfer_plugin/nraorsync_plugin.py /usr/libexec/condor/ 112 113 # Apply config within the container 114 RUN ./update-config 115 116 2. Run ``git clone --depth=1 gitlab@gitlab.nrao.edu:scg/condor_transfer_plugin.git`` in ``workspaces/`` 117 3. Try the above ``docker compose`` command again added 62 commits
-
08846e70...b30d72ba - 59 commits from branch
main
- e6f3b231 - Drafted updates to dockerized-setup.rst
- fd5cde6e - Fixed formatting, made dedicated Troubleshooting section
- cf0dec4e - Responded to MR feedback
Toggle commit list-
08846e70...b30d72ba - 59 commits from branch
mentioned in commit fec9e21b
Please register or sign in to reply