From fb2425ecf017509ffab8252fcf8c7ff6c0452aac Mon Sep 17 00:00:00 2001 From: Indrek Mandre Date: Fri, 26 Jan 2024 10:54:24 +0200 Subject: [PATCH] docker/rocm: make imported model files readable by all --- docker/rocm/Dockerfile | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/docker/rocm/Dockerfile b/docker/rocm/Dockerfile index 354d8e60f..8f45eccdb 100644 --- a/docker/rocm/Dockerfile +++ b/docker/rocm/Dockerfile @@ -83,14 +83,14 @@ ENV HSA_OVERRIDE_GFX_VERSION=$HSA_OVERRIDE_GFX_VERSION # Could compose them directly from https://github.com/ultralytics/assets/releases/tag/v8.1.0 # but would need to use a torch image of some sorts -ADD https://github.com/harakas/models/raw/main/ultralytics/yolov8.1/yolov8n_320x320.onnx / -ADD https://github.com/harakas/models/raw/main/ultralytics/yolov8.1/yolov8n_labels.txt / -ADD https://github.com/harakas/models/raw/main/ultralytics/yolov8.1/yolov8s_320x320.onnx / -ADD https://github.com/harakas/models/raw/main/ultralytics/yolov8.1/yolov8s_labels.txt / -ADD https://github.com/harakas/models/raw/main/ultralytics/yolov8.1/yolov8m_320x320.onnx / -ADD https://github.com/harakas/models/raw/main/ultralytics/yolov8.1/yolov8m_labels.txt / -ADD https://github.com/harakas/models/raw/main/ultralytics/yolov8.1/yolov8n-oiv7_320x320.onnx / -ADD https://github.com/harakas/models/raw/main/ultralytics/yolov8.1/yolov8n-oiv7_labels.txt / -ADD https://github.com/harakas/models/raw/main/ultralytics/yolov8.1/yolov8s-oiv7_320x320.onnx / -ADD https://github.com/harakas/models/raw/main/ultralytics/yolov8.1/yolov8s-oiv7_labels.txt / +ADD --chmod=0644 https://github.com/harakas/models/raw/main/ultralytics/yolov8.1/yolov8n_320x320.onnx / +ADD --chmod=0644 https://github.com/harakas/models/raw/main/ultralytics/yolov8.1/yolov8n_labels.txt / +ADD --chmod=0644 https://github.com/harakas/models/raw/main/ultralytics/yolov8.1/yolov8s_320x320.onnx / +ADD --chmod=0644 https://github.com/harakas/models/raw/main/ultralytics/yolov8.1/yolov8s_labels.txt / +ADD --chmod=0644 https://github.com/harakas/models/raw/main/ultralytics/yolov8.1/yolov8m_320x320.onnx / +ADD --chmod=0644 https://github.com/harakas/models/raw/main/ultralytics/yolov8.1/yolov8m_labels.txt / +ADD --chmod=0644 https://github.com/harakas/models/raw/main/ultralytics/yolov8.1/yolov8n-oiv7_320x320.onnx / +ADD --chmod=0644 https://github.com/harakas/models/raw/main/ultralytics/yolov8.1/yolov8n-oiv7_labels.txt / +ADD --chmod=0644 https://github.com/harakas/models/raw/main/ultralytics/yolov8.1/yolov8s-oiv7_320x320.onnx / +ADD --chmod=0644 https://github.com/harakas/models/raw/main/ultralytics/yolov8.1/yolov8s-oiv7_labels.txt /