Skip to content

Retain the git package after install to support plugins that need it - #216

Merged
MaxLeiter merged 1 commit into
thelounge:masterfrom
offbyone:retain-the-git-package-after-install-to-support-plugins-that-need/uzsvxtqtxwmr
Aug 1, 2026
Merged

MaxLeiter merged 1 commit into
thelounge:masterfrom
offbyone:retain-the-git-package-after-install-to-support-plugins-that-need/uzsvxtqtxwmr

Conversation

@offbyone

@offbyone offbyone commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Fixes #215

@offbyone
offbyone force-pushed the retain-the-git-package-after-install-to-support-plugins-that-need/uzsvxtqtxwmr branch from 3fb69d5 to 9b351ce Compare August 1, 2026 14:13
@MaxLeiter

Copy link
Copy Markdown
Member

thank you!

Comment thread Dockerfile Outdated
ENV NODE_ENV production
RUN apk --update --no-cache --virtual build-deps add python3 py3-setuptools build-base git && \
RUN apk --update --no-cache --virtual build-deps add python3 py3-setuptools build-base && \
apk add git && \

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I believe this should also have --no-cache

Suggested change
apk add git && \
apk --no-cache add git && \

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done!

This ensures that plugins that need git to install can find it.
@offbyone
offbyone force-pushed the retain-the-git-package-after-install-to-support-plugins-that-need/uzsvxtqtxwmr branch from 9b351ce to f8df63f Compare August 1, 2026 17:13
@MaxLeiter
MaxLeiter enabled auto-merge (squash) August 1, 2026 17:23
@MaxLeiter
MaxLeiter merged commit 23d5bb5 into thelounge:master Aug 1, 2026
8 checks passed
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.

Installing plugins fails due to a missing git

2 participants