glenn-jocher
commited on
Commit
•
9a7f289
1
Parent(s):
1b8e70f
Update Dockerfile-arm64 (#7860)
Browse files* Update Dockerfile-arm64
* Update docker.yml
.github/workflows/docker.yml
CHANGED
@@ -6,7 +6,7 @@ on:
|
|
6 |
push:
|
7 |
branches: [master]
|
8 |
# pull_request:
|
9 |
-
#
|
10 |
|
11 |
jobs:
|
12 |
docker:
|
@@ -44,11 +44,11 @@ jobs:
|
|
44 |
push: true
|
45 |
tags: ultralytics/yolov5:latest
|
46 |
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
|
|
6 |
push:
|
7 |
branches: [master]
|
8 |
# pull_request:
|
9 |
+
# branches: [master]
|
10 |
|
11 |
jobs:
|
12 |
docker:
|
|
|
44 |
push: true
|
45 |
tags: ultralytics/yolov5:latest
|
46 |
|
47 |
+
- name: Build and push arm64 image
|
48 |
+
uses: docker/build-push-action@v3
|
49 |
+
with:
|
50 |
+
context: .
|
51 |
+
platforms: linux/arm64
|
52 |
+
file: utils/docker/Dockerfile-arm64
|
53 |
+
push: true
|
54 |
+
tags: ultralytics/yolov5:latest-arm64
|
utils/docker/Dockerfile-arm64
CHANGED
@@ -10,7 +10,8 @@ ADD https://ultralytics.com/assets/Arial.ttf https://ultralytics.com/assets/Aria
|
|
10 |
# Install linux packages
|
11 |
RUN apt update
|
12 |
RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt install -y tzdata
|
13 |
-
RUN apt install --no-install-recommends -y python3-pip git zip curl htop
|
|
|
14 |
# RUN alias python=python3
|
15 |
|
16 |
# Install pip packages
|
|
|
10 |
# Install linux packages
|
11 |
RUN apt update
|
12 |
RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt install -y tzdata
|
13 |
+
RUN apt install --no-install-recommends -y python3-pip git zip curl htop gcc \
|
14 |
+
libgl1-mesa-glx libglib2.0-0 libpython3.8-dev
|
15 |
# RUN alias python=python3
|
16 |
|
17 |
# Install pip packages
|