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

✨ Add Docker Container Functionality and Lifecycle Management Facilities #175

Merged
merged 20 commits into from
May 22, 2021

Conversation

TeoZosa
Copy link
Owner

@TeoZosa TeoZosa commented May 22, 2021

This PR adds basic "production" container creation and management features.

  • build/push/pull/deploylogic abstracted into correspondingmake` targets for better ergonomics
  • conditionally rendered for Jupyter and non-Jupyter projects

TeoZosa added 19 commits May 21, 2021 19:08
Based on the pre-existing strong version tagging support.
- Excluding root project files by default
- Switching to mount syntax as per the official Docker documentation
recommendation
    - See Also: https://docs.docker.com/storage/bind-mounts/
Conditioned on user-defined env var.
Since the common use-case is distributing application code with
container images, copying application files by default. The onus is on
users to delete the associated COPY directive if they want to distribute
 a dependency-only image.
@TeoZosa TeoZosa added documentation Improvements or additions to documentation enhancement New feature or request breaking Breaking Changes labels May 22, 2021
@TeoZosa TeoZosa self-assigned this May 22, 2021
i.e.,
```
Run make provision-environment
  make provision-environment
  shell: /usr/bin/bash -e {0}
  env:
    pythonLocation: /opt/hostedtoolcache/Python/3.9.5/x64
    LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.9.5/x64/lib
Makefile:153: *** missing separator.  Stop.
Error: Process completed with exit code 2.
```

Runs fine locally with same shell and flag, expediently fixing error by
marking template as a comment. We must live with an extraneous hash
symbol.
@TeoZosa TeoZosa force-pushed the add-docker-container-support branch from a804e92 to 5959e14 Compare May 22, 2021 02:30
@TeoZosa TeoZosa merged commit 1a947d6 into master May 22, 2021
@TeoZosa TeoZosa deleted the add-docker-container-support branch May 22, 2021 02:36
TeoZosa added a commit that referenced this pull request May 22, 2021
TeoZosa added a commit that referenced this pull request May 22, 2021
TeoZosa added a commit that referenced this pull request May 22, 2021
TeoZosa added a commit that referenced this pull request May 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking Breaking Changes documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant