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: add env variables to profile.d #64

Open
wants to merge 1 commit into
base: v2.7
Choose a base branch
from

Conversation

xarem
Copy link
Member

@xarem xarem commented Apr 23, 2024

in some CI systems (f.ex. gitlab) the docker env variables are not available.

in some CI systems (f.ex. gitlab) the docker env variables are not available.
@xarem xarem requested a review from s4mpl3d April 27, 2024 00:01
@xarem xarem assigned xarem and unassigned s4mpl3d Apr 27, 2024
@@ -9,4 +9,6 @@ RUN chmod 777 /tmp
ENV PHP_VERSION=82
ENV COMPOSER_ALLOW_SUPERUSER=1
RUN /tmp/install-php.sh && \
rm /tmp/install-php.sh
rm /tmp/install-php.sh && \
echo "COMPOSER_ALLOW_SUPERUSER=$COMPOSER_ALLOW_SUPERUSER" >> /etc/profile.d/php.sh && \
Copy link
Member

Choose a reason for hiding this comment

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

Nit: Would be a bit nicer if we do everything installation related in /tmp/install-php.sh

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.

2 participants