Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4] Adds version.py to /usr/local/bin #6

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

stark525
Copy link

task.py references version.py and since we typically are using cirrus - if you try to execute this template from batch without specifying the path for task.py will bomb out, because version.py is not also copied to PATH. This change adds version.py to the Dockerfile path.

task.py references version.py and since we typically are using cirrus - if you try to execute this template from batch without specifying the path for task.py will bomb out, because version.py is not also copied to /Users/dstark/.pyenv/shims:/Users/dstark/.nvm/versions/node/v10.18.1/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/share/npm/bin. This change adds version.py to the Dockerfile path.
@@ -14,4 +14,4 @@ RUN \
ADD . ${HOME}

# Add task to $PATH so AWS Batch can run
COPY task.py /usr/local/bin
COPY [ "task.py", "version.py", "/usr/local/bin" ]
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This syntax looks weird but is correct. Also woops my commit message has my actual $PATH 😁

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant