Added in modified files

This commit is contained in:
Henry Whitaker
2020-12-20 01:17:32 +00:00
parent fd47856ea4
commit 4cf6164459
3 changed files with 5 additions and 3 deletions

View File

@@ -1,6 +1,8 @@
FROM linuxserver/nginx
LABEL maintainer=henrywhitaker3@outlook.com
ENV arch='x86_64'
COPY conf/ /
EXPOSE 80 443

View File

@@ -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

View File

@@ -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/