Update Dockerfile

This commit is contained in:
Robin-Manuel Thiel
2021-11-02 00:41:50 +01:00
parent 8a9bf9ce3e
commit 033f6ea79a
2 changed files with 6 additions and 11 deletions
+2 -5
View File
@@ -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
View File
@@ -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"]