Skip to content

Commit

Permalink
maybe fix 'Error: retrieving gpg key timed out.'
Browse files Browse the repository at this point in the history
  • Loading branch information
natitsechanski committed Sep 26, 2024
1 parent d446826 commit d094096
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions utils/build/docker/php/php-fpm-8.2.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ ENV DD_TRACE_GENERATE_ROOT_SPAN=1
ENV DD_TRACE_AGENT_FLUSH_AFTER_N_REQUESTS=0
ENV DD_TRACE_HEADER_TAGS=user-agent

# Fix 'Error: retrieving gpg key timed out'
RUN apt update && apt install -y gpg
RUN gpg --keyserver hkp://keyserver.ubuntu.com:80 --refresh-keys

RUN chmod +x /tmp/php/php-fpm/build.sh
RUN /tmp/php/php-fpm/build.sh $PHP_VERSION
RUN rm -rf /tmp/php/
Expand Down

0 comments on commit d094096

Please sign in to comment.