mirror of
https://github.com/henrywhitaker3/Speedtest-Tracker.git
synced 2025-12-25 23:03:36 +01:00
Added in modified files
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
FROM linuxserver/nginx
|
||||
LABEL maintainer=henrywhitaker3@outlook.com
|
||||
|
||||
ENV arch='x86_64'
|
||||
|
||||
COPY conf/ /
|
||||
|
||||
EXPOSE 80 443
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
FROM linuxserver/nginx:arm32v7-latest
|
||||
LABEL maintainer=henrywhitaker3@outlook.com
|
||||
|
||||
COPY conf/ /
|
||||
ENV arch='arm'
|
||||
|
||||
RUN sed -i "s/1\.0\.0-x86_64/1\.0\.0-arm/" /etc/cont-init.d/50-speedtest
|
||||
COPY conf/ /
|
||||
|
||||
EXPOSE 80 443
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ else
|
||||
if [ ! -f /config/www/app/Bin/speedtest ]; then
|
||||
echo "Ookla GDPR and EULA accepted. Downloading Speedtest CLI."
|
||||
cd /tmp
|
||||
wget https://bintray.com/ookla/download/download_file?file_path=ookla-speedtest-1.0.0-x86_64-linux.tgz -O speedtest.tgz > /dev/null
|
||||
wget https://bintray.com/ookla/download/download_file?file_path=ookla-speedtest-1.0.0-$arch-linux.tgz -O speedtest.tgz > /dev/null
|
||||
tar zxvf speedtest.tgz > /dev/null
|
||||
cp speedtest /site/app/Bin/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user