From 94735d17758cc3fe391d32ba946ccdce564492be Mon Sep 17 00:00:00 2001 From: Alberto Xamin Date: Wed, 6 Apr 2022 16:19:03 +0200 Subject: [PATCH] remove armv7 and add ddtrace command to docker --- .github/workflows/dev-image.yml | 12 +----------- backend/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/.github/workflows/dev-image.yml b/.github/workflows/dev-image.yml index 6e4d839..3221215 100644 --- a/.github/workflows/dev-image.yml +++ b/.github/workflows/dev-image.yml @@ -42,16 +42,6 @@ jobs: --output "type=image,push=false" \ --tag albertoxamin/bang:dev \ --file ./Dockerfile ./ - - - name: Docker Buildx (build armv-7) - run: | - docker buildx build \ - --cache-from "type=local,src=/tmp/.buildx-cache" \ - --cache-to "type=local,dest=/tmp/.buildx-cache" \ - --platform linux/arm/v7 \ - --output "type=image,push=false" \ - --tag albertoxamin/bang:dev \ - --file ./Dockerfile ./ - name: Login to DockerHub uses: docker/login-action@v1 @@ -63,7 +53,7 @@ jobs: run: | docker buildx build \ --cache-from "type=local,src=/tmp/.buildx-cache" \ - --platform linux/amd64,linux/arm/v7,linux/arm64 \ + --platform linux/amd64,linux/arm64 \ --output "type=image,push=true" \ --tag albertoxamin/bang:dev \ --file ./Dockerfile ./ diff --git a/backend/Dockerfile b/backend/Dockerfile index df7d29e..c956f0d 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -8,4 +8,4 @@ RUN RUN apt-get update && apt-get install -y \ RUN pip install -r requirements.txt EXPOSE 5001 -ENTRYPOINT ["python", "/code/__init__.py"] \ No newline at end of file +ENTRYPOINT ["ddtrace-run", "python", "/code/__init__.py"] \ No newline at end of file