Skip to content

Conversation

@satenderrathee
Copy link
Contributor

📲 What

Added jq and azure-cli in data image

🤔 Why

Why have you implemented it?

Required for Data platform


# Install the databricks CLI, precommit and tomli
RUN pip install databricks-cli pre-commit tomli
RUN pip install databricks-cli pre-commit tomli
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ideally add "azure-cli" here rather than separate line otherwise we create unnecessary docker layers, happy to approve now.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Azure cli is already in the base image?

Copy link
Contributor Author

@satenderrathee satenderrathee Sep 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Jack, I can see it in base image but I think its getting removed from data image ,please refer this
RUN apk del py-pip \
&& apk del python3-dev py3-pip
&& rm -rf ~/.cache/pip \
&& apk del python3

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@russellseymour shouldn't az cli be available?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, juust catching up with PRs

Yes I was just looking at this.

If we are upgrading Python herte then I think we should be consistent and upgrage Python in the base image.
I do not want to have to install az twice.

balpurewal
balpurewal previously approved these changes Sep 27, 2023
@ElvenSpellmaker
Copy link
Contributor

Hey @russellseymour, has this PR become part of our new images?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants