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

Feat/Dockerfile test environment #1878

Merged

Conversation

alexcolpitts96
Copy link
Contributor

The current Dockerfile is an image that builds a container for jupyter.

I updated the Dockerfile to build a dev environment for darts which can be helpful when debugging/testing.

@alexcolpitts96 alexcolpitts96 changed the title feat/Dockerfile test environment Feat/Dockerfile test environment Jul 3, 2023
@codecov-commenter
Copy link

codecov-commenter commented Jul 4, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.01 ⚠️

Comparison is base (933316b) 94.00% compared to head (6ec354a) 93.99%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1878      +/-   ##
==========================================
- Coverage   94.00%   93.99%   -0.01%     
==========================================
  Files         126      126              
  Lines       11905    11891      -14     
==========================================
- Hits        11191    11177      -14     
  Misses        714      714              

see 6 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@madtoinou madtoinou linked an issue Aug 7, 2023 that may be closed by this pull request
Copy link
Collaborator

@madtoinou madtoinou left a comment

Choose a reason for hiding this comment

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

It looks super neat and ran smoothly on my device.

I would just slightly change the wording in the comment at the end, just to make sure the docker commands are executed from the appropriate directory.

Also, out of curiosity, I tried swapping ubuntu:latest with python:slim and it works just as well, reducing the size of the image from 3.75GB to 3.22GB. Any benefits from one over the other?

Dockerfile Outdated Show resolved Hide resolved
@dennisbader dennisbader added this to In review in darts via automation Aug 22, 2023
Copy link
Collaborator

@dennisbader dennisbader left a comment

Choose a reason for hiding this comment

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

This is really nice, thanks a lot @alexcolpitts96 🚀 In indeed reduced the image size substantially!

I took the freedom to update the INSTALL.md with instructions how to use the docker image (without gradle) and some other simplifications/fixes.

Copy link
Collaborator

@madtoinou madtoinou left a comment

Choose a reason for hiding this comment

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

LGTM 🚀, I just spotted two small typos.

INSTALL.md Outdated Show resolved Hide resolved
INSTALL.md Outdated Show resolved Hide resolved
dennisbader and others added 2 commits August 31, 2023 14:31
Co-authored-by: madtoinou <32447896+madtoinou@users.noreply.github.com>
@dennisbader dennisbader merged commit 52ac181 into unit8co:master Aug 31, 2023
8 of 9 checks passed
darts automation moved this from In review to Done Aug 31, 2023
@dennisbader dennisbader moved this from Done to Released in darts Sep 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
darts
Released
Development

Successfully merging this pull request may close these issues.

Darts lite/deployment version
4 participants