mirror of
https://github.com/robinmanuelthiel/speedtest.git
synced 2026-08-24 10:14:30 -05:00
Update Dockerfile
This commit is contained in:
@@ -22,15 +22,12 @@ jobs:
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
|
||||
- run: docker buildx build --tag robinmanuelthiel/speedtest:latest-arm64v8 --platform linux/arm64 .
|
||||
shell: bash
|
||||
|
||||
- run: docker buildx build --tag robinmanuelthiel/speedtest:latest-arm64v8 --platform linux/arm64 .
|
||||
|
||||
- run: |
|
||||
docker buildx build --tag robinmanuelthiel/speedtest:latest-arm32v7 --platform linux/arm32 --build-arg ARCH=arm32v7/ .
|
||||
docker buildx build --tag robinmanuelthiel/speedtest:latest-arm64v8 --platform linux/arm64 --build-arg ARCH=arm64v8/ .
|
||||
docker buildx build --tag robinmanuelthiel/speedtest:latest-arm32v7 --platform linux/arm/v7 --build-arg ARCH=arm32v7/ .
|
||||
docker buildx build --tag robinmanuelthiel/speedtest:latest-arm64v8 --platform linux/arm64/v8 --build-arg ARCH=arm64v8/ .
|
||||
docker buildx build --tag robinmanuelthiel/speedtest:latest-amd64 --platform linux/amd64 --build-arg ARCH=amd64/ .
|
||||
|
||||
docker manifest create robinmanuelthiel/speedtest:latest \
|
||||
|
||||
+4
-6
@@ -1,13 +1,11 @@
|
||||
ARG ARCH=
|
||||
FROM ${ARCH}debian
|
||||
FROM debian:bullseye
|
||||
|
||||
# Install basics
|
||||
RUN apt-get update
|
||||
RUN apt-get -y install curl
|
||||
RUN apt-get update && apt-get install -y curl
|
||||
|
||||
# Install speedtest cli
|
||||
RUN curl -s https://install.speedtest.net/app/cli/install.deb.sh | bash && \
|
||||
apt-get install speedtest
|
||||
RUN curl -s https://install.speedtest.net/app/cli/install.deb.sh | bash
|
||||
RUN apt-get install speedtest
|
||||
|
||||
COPY ./speedtest.sh .
|
||||
CMD ["./speedtest.sh"]
|
||||
|
||||
Reference in New Issue
Block a user