Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
install missing dependency
  • Loading branch information
nerrad committed Jul 12, 2025
commit af310d7945615fa7577c9142ff2e2d524d6ed598
2 changes: 1 addition & 1 deletion packages/env/lib/init-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ function getSpxConfig( spxMode = 'off', phpVersion, service ) {

return `
# Install SPX profiler
RUN apt-get update && apt-get install -y git
RUN apt-get update && apt-get install -y git zlib1g-dev
Copy link
Member

Choose a reason for hiding this comment

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

There are existing usages of apt-get in this init-config.js file and they always run as apt-get -qy, i.e., be quiet and say yes to everything.

It would be also nicer if the two apt-get commands ran as independent RUN lines.

RUN cd /tmp && git clone https://github.com/NoiseByNorthwest/php-spx.git
RUN cd /tmp/php-spx && git checkout release/latest
RUN cd /tmp/php-spx && phpize && ./configure && make && make install
Expand Down
Loading