GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Publish a single python docker image · Issue #4379 · feast-dev/feast

Publish a single python docker image #4379

New issue
Copy link
New issue
Copy link
Closed
Closed
Publish a single python docker image#4379
Copy link
Labels
kind/featureNew feature or requestNew feature or requestwontfixThis will not be worked onThis will not be worked on

Description

@tokoko
tokoko
opened on Aug 5, 2024
Issue body actions

Is your feature request related to a problem? Please describe.
A set of available feast images is confusing and hard to manage because of multiple repositories.

Describe the solution you'd like
We should switch to publishing python-based images to a single repository rather than having different images for different components (feature-server, transformation-server). Offline server already deviated from this approach and is using feature server image directly. The kind of component being deployed is generally has almost no bearing to the contents of the image, much better alternative is to offer images tailored to the set of installed extras (aws, gcp, spark and so on) and python versions.

For simplicity we can use image tags to differentiate these images. For example we can start off feastdev/feast image with the following tags:

  • 0.40.0-python3.9 (contains minimal set of extras)
  • 0.40.0-python3.10
  • 0.40.0-python3.11
  • 0.40.0-full-python3.9 (for simplicity, contains almost all extras)
  • 0.40.0-full-python3.10
  • 0.40.0-full-python3.11
  • 0.40.0-spark-python3.11 (separate image as spark depends on java)
  • ...
Reacted by Felipe Cordeiro Alves Dias, Rob Howley and Daniele Martinoli

Activity

  1. tokoko
    added
    kind/featureNew feature or requestNew feature or request
    on Aug 5, 2024
  2. extreme4all commented on Sep 5, 2024

    @extreme4all
    extreme4all
    on Sep 5, 2024
    More actions

    is there anything in terms of Dockerfile or docker-compose.yaml file that can be used right now, maybe a good starting point is this

    • ./feast/Dockerfile
    # Use Python 3.10 Slim Bullseye image
    FROM python:3.10-slim-bullseye
    
    # Install Feast without caching the packages
    RUN pip install --no-cache feast
    
    # Define an environment variable for the FEATURE_STORE directory
    ENV FEATURE_REPO=my_feature_repo
    
    # Conditionally run `feast init feature_repo` if FEATURE_STORE directory does not exist
    RUN if [ ! -d "$FEATURE_REPO" ]; then \
          echo "Directory $FEATURE_STORE does not exist, initializing feast..."; \
          feast init "$FEATURE_REPO"; \
        else \
          echo "Directory $FEATURE_STORE already exists, skipping feast initialization."; \
        fi
    
    WORKDIR $FEATURE_REPO/feature_repo
    • ./docker-compose.yml
    services:
      feast:
        build:
          context: ./feast
        environment:
          - FEATURE_REPO=feature_repo
        ports:
          - 8888:8888
        command: feast ui
  3. stale commented on Apr 26, 2025

    @stale
    staleBot
    on Apr 26, 2025 – with Stale
    More actions

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

  4. stale
    added
    wontfixThis will not be worked onThis will not be worked on
    on Apr 26, 2025
  5. stale
    closed this as completedon May 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureNew feature or requestNew feature or requestwontfixThis will not be worked onThis will not be worked on

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402520 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.