Created a new entrypoint to allow eula automatic exception

This commit is contained in:
2024-08-17 12:45:49 -05:00
parent 5033e05a11
commit 7a4f31ec7e
2 changed files with 10 additions and 2 deletions

View File

@@ -4,6 +4,7 @@ RUN curl -s https://packagecloud.io/install/repositories/ookla/speedtest-cli/scr
RUN yum -y install speedtest
RUN echo alias speedtest=\'speedtest --accept-license\' >> ~/.bashrc
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["speedtest", "--accept-license"]
ENTRYPOINT ["/entrypoint.sh"]