Update Dockerfile-arm64 (#7860)

* Update Dockerfile-arm64

* Update docker.yml
This commit is contained in:
Glenn Jocher authored and GitHub committed 2022-05-17 16:35:12 +02:00
1 parent 1b8e70f037
commit 9a7f289eed
2 files changed
+11 -10

No files matched your search

+9 -9
View File
@@ -6,7 +6,7 @@ on:
push: push:
branches: [master] branches: [master]
# pull_request: # pull_request:
# branches: [master] # branches: [master]
jobs: jobs:
docker: docker:
@@ -44,11 +44,11 @@ jobs:
push: true push: true
tags: ultralytics/yolov5:latest tags: ultralytics/yolov5:latest
#- name: Build and push arm64 image - name: Build and push arm64 image
# uses: docker/build-push-action@v3 uses: docker/build-push-action@v3
# with: with:
# context: . context: .
# platforms: linux/arm64 platforms: linux/arm64
# file: utils/docker/Dockerfile-arm64 file: utils/docker/Dockerfile-arm64
# push: true push: true
# tags: ultralytics/yolov5:latest-arm64 tags: ultralytics/yolov5:latest-arm64
+2 -1
View File
@@ -10,7 +10,8 @@ ADD https://ultralytics.com/assets/Arial.ttf https://ultralytics.com/assets/Aria
# Install linux packages # Install linux packages
RUN apt update RUN apt update
RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt install -y tzdata RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt install -y tzdata
RUN apt install --no-install-recommends -y python3-pip git zip curl htop libgl1-mesa-glx libglib2.0-0 libpython3.8-dev RUN apt install --no-install-recommends -y python3-pip git zip curl htop gcc \
libgl1-mesa-glx libglib2.0-0 libpython3.8-dev
# RUN alias python=python3 # RUN alias python=python3
# Install pip packages # Install pip packages