Skip to content
Snippets Groups Projects

Update dockerized setup docs

Merged Sam Kagan requested to merge update-dockerized-setup-docs into main
3 unresolved threads

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
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
  • Daniel Nemergut approved this merge request

    approved this merge request

  • Sam Kagan added 1 commit

    added 1 commit

    Compare with previous version

  • Sam Kagan marked this merge request as draft

    marked this merge request as draft

  • Sam Kagan marked this merge request as ready

    marked this merge request as ready

  • Charlotte Hausman approved this merge request

    approved this merge request

  • 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
  • Sam Kagan added 62 commits

    added 62 commits

    Compare with previous version

  • merged

  • Sam Kagan mentioned in commit fec9e21b

    mentioned in commit fec9e21b

  • Please register or sign in to reply
    Loading