Skip to content

Commit

Permalink
fix dependency conflicts for ubuntu 22 tensorflow images
Browse files Browse the repository at this point in the history
  • Loading branch information
jpbusch committed Dec 9, 2024
1 parent dc61965 commit d99d549
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ RUN if [[ -n $TORCH_VERSION ]]; then \
ARG TF_VERSION
RUN if [[ -n $TF_VERSION ]]; then \
if [[ "$TARGETARCH" == "amd64" ]]; then \
if [[ $UBUNTU_VERSION == "22.04" ]]; then pip install opencv-python matplotlib; fi && \
pip3 install tensorflow==${TF_VERSION}; \
elif [[ "$TARGETARCH" == "arm64" ]]; then \
apt-get update && \
Expand Down

0 comments on commit d99d549

Please sign in to comment.