Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Bitwarden to Dockerfile #1562

Merged
merged 3 commits into from
Jan 17, 2025
Merged

Add Bitwarden to Dockerfile #1562

merged 3 commits into from
Jan 17, 2025

Conversation

suchintan
Copy link
Contributor

@suchintan suchintan commented Jan 15, 2025

Important

Add Bitwarden CLI installation to Dockerfile with Node.js setup using nvm.

  • Dockerfile Changes:
    • Add curl to apt-get install command.
    • Set up nvm environment variables and install nvm.
    • Install Node.js version v20.12.2 and npm using nvm.
    • Add Node.js and npm to PATH.
    • Install Bitwarden CLI version 2024.9.0 using npm.
    • Confirm installations by checking versions of npm, node, and Bitwarden CLI.

This description was created by Ellipsis for 61246c7. It will automatically update as commits are pushed.

@suchintan suchintan requested a review from LawyZheng January 15, 2025 15:26
Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

👍 Looks good to me! Reviewed everything up to 5428242 in 43 seconds

More details
  • Looked at 30 lines of code in 1 files
  • Skipped 0 files when reviewing.
  • Skipped posting 1 drafted comments based on config settings.
1. Dockerfile:16
  • Draft comment:
    Consider adding apt-get update before apt-get install to ensure the package list is up-to-date. Also, add rm -rf /var/lib/apt/lists/* after apt-get clean to reduce image size.
  • Reason this comment was not posted:
    Comment was on unchanged code.

Workflow ID: wflow_3ykUsrfLK0XLQBaT


You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

❌ Changes requested. Incremental review on 61246c7 in 45 seconds

More details
  • Looked at 13 lines of code in 1 files
  • Skipped 0 files when reviewing.
  • Skipped posting 0 drafted comments based on config settings.

Workflow ID: wflow_N1sJxVvay7YmHY7F


Want Ellipsis to fix these issues? Tag @ellipsis-dev in a comment. You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

@@ -13,7 +13,26 @@ COPY --from=requirements-stage /tmp/requirements.txt /app/requirements.txt
RUN pip install --no-cache-dir --upgrade -r requirements.txt
RUN playwright install-deps
RUN playwright install
RUN apt-get install -y xauth x11-apps netpbm && apt-get clean
RUN apt-get install -y xauth x11-apps netpbm curl && apt-get clean
Copy link
Contributor

Choose a reason for hiding this comment

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

Consider adding rm -rf /var/lib/apt/lists/* after apt-get clean to free up space by removing package lists.

@suchintan suchintan merged commit d4c2075 into main Jan 17, 2025
7 checks passed
@suchintan suchintan deleted the suchintan-patch-1 branch January 17, 2025 23:51
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.

3 participants