Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Dockerfile-arm64 #7860

Merged
merged 2 commits into from
May 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
push:
branches: [master]
# pull_request:
# branches: [master]
# branches: [master]

jobs:
docker:
Expand Down Expand Up @@ -44,11 +44,11 @@ jobs:
push: true
tags: ultralytics/yolov5:latest

#- name: Build and push arm64 image
# uses: docker/build-push-action@v3
# with:
# context: .
# platforms: linux/arm64
# file: utils/docker/Dockerfile-arm64
# push: true
# tags: ultralytics/yolov5:latest-arm64
- name: Build and push arm64 image
uses: docker/build-push-action@v3
with:
context: .
platforms: linux/arm64
file: utils/docker/Dockerfile-arm64
push: true
tags: ultralytics/yolov5:latest-arm64
3 changes: 2 additions & 1 deletion utils/docker/Dockerfile-arm64
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ ADD https://ultralytics.com/assets/Arial.ttf https://ultralytics.com/assets/Aria
# Install linux packages
RUN apt update
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

# Install pip packages
Expand Down