Skip to content

The GitHub repo for a Dockerhub image that will be updated as new technology is required.

Notifications You must be signed in to change notification settings

BillRaymond/machine-learning-general-purpose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

machine-learning-general-purpose

This is my machine learning and general utility Python image

To use the image from Dockerhub

I do not manage versions of the dockerfile, so I suggest you perform the following steps:

  1. In your repo, add the following line:
FROM billraymond/machine-learning-general-purpose:latest
  1. Copy over the ./devcontainer folder from this repo and modify the configure-git.sh file to use your user.email and user.name.
  2. Note that you can add, remove, or modify the VSC extensions in the ./devcontainer/devcontainer.json file

Customize this container

If you want to customize the container, I recommend you download the code (ex zip file) so you can use the ./devcontainer folder and tailor that to your needs as well.

While the requirements for this image may change over time, the devcontainer will include:

  1. An LTS version of Ubuntu
  2. The latest version of Python 3 from the APT package manager
  3. Other items may include Git, Tensorflow, Git, h5py, SciKitLearn, and more
  4. Check out the Dockerfile contained in this repo for more details of what is or is not installed

Example customization

Here is an example Dockerfile for another repo I manage that adds more capabilities, like OpenAI's API, tabulate, pandoc, markdown, and more. Note that it pulls from the base DockerHub container and then adds more packages to it.

Dockerfile

FROM billraymond/machine-learning-general-purpose:latest

# Install pillow qr code and pillow for graphics manipulation
RUN pip install --no-cache-dir qrcode[pil] && \
    pip install --no-cache-dir --upgrade pillow

# Install various tools in support of utilities
    RUN pip install --no-cache-dir python-pptx \
                openai \
                tabulate \
                pandoc \
                markdown2 \
                pdfkit \
                beautifulsoup4
RUN apt-get update
RUN apt-get install -y wkhtmltopdf

RUN rm -rf /var/lib/apt/lists/*

Feedback

This is a genearl purpose solution for me, but if you have some ideas or recommendations, feel free to submit a pull request or open an issue.

About

The GitHub repo for a Dockerhub image that will be updated as new technology is required.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published