Skip to content

Commit

Permalink
Add d2x_job_run.sh script
Browse files Browse the repository at this point in the history
  • Loading branch information
jlantz committed May 2, 2024
1 parent 575b464 commit 02ca5ed
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ RUN pip install --no-cache-dir --upgrade pip pip-tools \
pip --no-cache-dir install git+https://github.com/muselab-d2x/d2x-cli@main cookiecutter

# Copy devhub auth script and make it executable
COPY devhub.sh /usr/local/bin/d2x_job_run.sh
COPY devhub.sh /usr/local/bin/devhub.sh
RUN chmod +x /usr/local/bin/d2x_job_run.sh
RUN chmod +x /usr/local/bin/devhub.sh

# Create d2x user
Expand Down
5 changes: 5 additions & 0 deletions d2x_job_run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash -e

/usr/local/bin/devhub.sh

d2x job run "$@"

0 comments on commit 02ca5ed

Please sign in to comment.