Skip to content

Commit

Permalink
Remove python3-apt separetely to avoid segfault when building in GH A…
Browse files Browse the repository at this point in the history
…ctions
  • Loading branch information
kraftbj committed Jan 23, 2025
1 parent 776c5d7 commit e9f45e8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tools/docker/Dockerfile.monorepo
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ RUN --mount=type=cache,target=/var/lib/apt/lists/,sharing=private \
"php${PHP_VERSION}-xml" \
"php${PHP_VERSION}-zip" \
rsync \
&& apt-get remove --purge --auto-remove -y gpg software-properties-common \
&& find /var/ -name '*-old' -delete && rm -rf /var/log/dpkg.log /var/log/alternatives.log /var/log/apt/ ~/.launchpadlib
&& apt-get remove --purge -y python3-apt \
&& apt-get remove --purge --auto-remove -y gpg software-properties-common

# Install Composer
RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \
Expand Down Expand Up @@ -76,7 +76,8 @@ RUN chmod +x /usr/local/bin/monorepo-entrypoint.sh
# Set up locale properly
RUN apt-get update && apt-get install -y locales \
&& locale-gen en_US.UTF-8 \
&& update-locale LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8
&& update-locale LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 \
&& find /var/ -name '*-old' -delete && rm -rf /var/log/dpkg.log /var/log/alternatives.log /var/log/apt/ ~/.launchpadlib

ENV LANG=en_US.UTF-8
ENV LC_ALL=en_US.UTF-8
Expand Down

0 comments on commit e9f45e8

Please sign in to comment.