remove armv7 and add ddtrace command to docker
This commit is contained in:
parent
df1a381909
commit
94735d1775
12
.github/workflows/dev-image.yml
vendored
12
.github/workflows/dev-image.yml
vendored
@ -42,16 +42,6 @@ jobs:
|
|||||||
--output "type=image,push=false" \
|
--output "type=image,push=false" \
|
||||||
--tag albertoxamin/bang:dev \
|
--tag albertoxamin/bang:dev \
|
||||||
--file ./Dockerfile ./
|
--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
|
name: Login to DockerHub
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v1
|
||||||
@ -63,7 +53,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
docker buildx build \
|
docker buildx build \
|
||||||
--cache-from "type=local,src=/tmp/.buildx-cache" \
|
--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" \
|
--output "type=image,push=true" \
|
||||||
--tag albertoxamin/bang:dev \
|
--tag albertoxamin/bang:dev \
|
||||||
--file ./Dockerfile ./
|
--file ./Dockerfile ./
|
||||||
|
@ -8,4 +8,4 @@ RUN RUN apt-get update && apt-get install -y \
|
|||||||
RUN pip install -r requirements.txt
|
RUN pip install -r requirements.txt
|
||||||
EXPOSE 5001
|
EXPOSE 5001
|
||||||
|
|
||||||
ENTRYPOINT ["python", "/code/__init__.py"]
|
ENTRYPOINT ["ddtrace-run", "python", "/code/__init__.py"]
|
Loading…
Reference in New Issue
Block a user