Skip to content

Commit

Permalink
Move installation of usefull os packages like jq unixODBC postgreql g…
Browse files Browse the repository at this point in the history
…it-lfs libsndfile on the base image
  • Loading branch information
atheo89 committed Sep 12, 2023
1 parent a0e4011 commit 6aa3fb7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 5 additions & 0 deletions base/ubi9-python-3.9/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ RUN pip install -U "micropipenv[toml]"
# Install Python dependencies from Pipfile.lock file
COPY Pipfile.lock ./

USER root
# Install usefull OS packages
RUN dnf install -y jq unixODBC postgresql git-lfs libsndfile
USER 1001

RUN echo "Installing softwares and packages" && micropipenv install && rm -f ./Pipfile.lock

# Install the oc client
Expand Down
5 changes: 0 additions & 5 deletions jupyter/datascience/ubi9-python-3.9/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@ RUN echo "Installing softwares and packages" && \

COPY utils ./utils/

USER root
# Install unixODBC in favor of pyodbc library
RUN dnf install -y jq unixODBC
USER 1001

# setup path for runtime configuration
RUN mkdir /opt/app-root/runtimes && \
# switch to Data Science Pipeline \
Expand Down

0 comments on commit 6aa3fb7

Please sign in to comment.