Skip to content

Commit

Permalink
SAASMLOPS-734 revert dockerfile changes
Browse files Browse the repository at this point in the history
Signed-off-by: James Crabtree <james.crabtree@sailpoint.com>
  • Loading branch information
james-crabtree-sp committed Sep 1, 2023
1 parent d3f6573 commit 441b70e
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
FROM $FEDORA_BASE_IMAGE:$BASE_IMAGE_TAG
FROM python:3.9-slim-bullseye AS build

RUN apt-get update && \
apt-get install --no-install-suggests --no-install-recommends --yes git

WORKDIR /bytewax

Expand All @@ -22,6 +25,5 @@ COPY README.md README.md
# git dir to infer the version of feast we're installing.
# https://github.com/pypa/setuptools_scm#usage-from-docker
# I think it also assumes that this dockerfile is being built from the root of the directory.
RUN dnf install -y git
RUN --mount=source=.git,target=.git,type=bind pip3 install --no-cache-dir '.[aws,gcp,bytewax,snowflake]'
RUN --mount=source=.git,target=.git,type=bind pip3 install --no-cache-dir -e '.[aws,gcp,bytewax]'

0 comments on commit 441b70e

Please sign in to comment.