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

php-fpm: elasticdump for importing/exporting Elasticsearch data #180

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Jancis
Copy link
Member

@Jancis Jancis commented Mar 26, 2024

Adds elasticdump binary for importing/exporting Elasticsearch data

Copy link
Contributor

@Rade333 Rade333 left a comment

Choose a reason for hiding this comment

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

Looks pretty straight-forward! Added a comment to make image size smaller.

@@ -119,6 +119,9 @@ COPY config/w-php-defaults.ini /usr/local/etc/php/conf.d/w-php-defaults.ini
COPY silta /silta
COPY silta/entrypoints/10-env.sh /etc/profile.d/10-env.sh

# Elasticdump for importing/exporting Elasticsearch data
RUN apk add npm nodejs && npm install -g elasticdump
Copy link
Contributor

Choose a reason for hiding this comment

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

Please move this line a bit further up, above lines 95-96 which do cleanup. Also, add && npm cache clean --force after the npm install command.

Copy link
Contributor

Choose a reason for hiding this comment

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

Update after my review on #182: #182 (review)

I realized npm can be removed after elasticdump is installed.

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.

None yet

2 participants