File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -6,15 +6,25 @@ FROM serversideup/php:8.3-fpm-nginx-alpine-v3.5.1 AS base
66LABEL org.opencontainers.image.title="speedtest-tracker-docker" \
77 org.opencontainers.image.authors="Alex Justesen (@alexjustesen)"
88
9- ARG RELEASE_TAG="latest"
9+ ARG CLI_VERSION="1.2.0" \
10+ RELEASE_TAG="latest"
1011
1112ENV AUTORUN_ENABLED="TRUE" \
1213 AUTORUN_LARAVEL_MIGRATION_ISOLATION="true" \
14+ # PHP_OPCACHE_ENABLE="1" \
1315 SHOW_WELCOME_MESSAGE="false"
1416
1517# Switch to root so we can do root things
1618USER root
1719
20+ # Install Speedtest CLI
21+ RUN curl -o \
22+ /tmp/speedtest-cli.tgz -L \
23+ "https://install.speedtest.net/app/cli/ookla-speedtest-${CLI_VERSION}-linux-x86_64.tgz" && \
24+ tar xzf \
25+ /tmp/speedtest-cli.tgz -C \
26+ /usr/bin
27+
1828# Install the intl extension with root permissions
1929RUN install-php-extensions intl
2030
You can’t perform that action at this time.
0 commit comments