fix: use correct UID:GID 1000:100 for ray user
Some checks failed
Build and Push Images / determine-version (push) Has been cancelled
Build and Push Images / build-nvidia (push) Has been cancelled
Build and Push Images / build-rdna2 (push) Has been cancelled
Build and Push Images / build-strixhalo (push) Has been cancelled
Build and Push Images / build-intel (push) Has been cancelled
Build and Push Images / Notify (push) Has been cancelled
Build and Push Images / Release (push) Has been cancelled
Some checks failed
Build and Push Images / determine-version (push) Has been cancelled
Build and Push Images / build-nvidia (push) Has been cancelled
Build and Push Images / build-rdna2 (push) Has been cancelled
Build and Push Images / build-strixhalo (push) Has been cancelled
Build and Push Images / build-intel (push) Has been cancelled
Build and Push Images / Notify (push) Has been cancelled
Build and Push Images / Release (push) Has been cancelled
Ray official images use uid=1000(ray) gid=100(users). Using numeric IDs for podman compatibility.
This commit is contained in:
@@ -79,7 +79,7 @@ RUN --mount=type=cache,target=/home/ray/.cache/uv,uid=1000,gid=1000 \
|
|||||||
'pydantic>=2.0.0,<3.0'
|
'pydantic>=2.0.0,<3.0'
|
||||||
|
|
||||||
# Copy entrypoint script (ray-serve-apps is installed from PyPI at runtime)
|
# Copy entrypoint script (ray-serve-apps is installed from PyPI at runtime)
|
||||||
COPY --chown=ray:ray --chmod=755 dockerfiles/ray-entrypoint.sh /app/ray-entrypoint.sh
|
COPY --chown=1000:100 --chmod=755 dockerfiles/ray-entrypoint.sh /app/ray-entrypoint.sh
|
||||||
|
|
||||||
# Environment configuration
|
# Environment configuration
|
||||||
ENV PYTHONPATH=/app \
|
ENV PYTHONPATH=/app \
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ RUN --mount=type=cache,target=/home/ray/.cache/uv,uid=1000,gid=1000 \
|
|||||||
'pydantic>=2.0.0,<3.0'
|
'pydantic>=2.0.0,<3.0'
|
||||||
|
|
||||||
# Copy entrypoint script (ray-serve-apps is installed from PyPI at runtime)
|
# Copy entrypoint script (ray-serve-apps is installed from PyPI at runtime)
|
||||||
COPY --chown=ray:ray --chmod=755 dockerfiles/ray-entrypoint.sh /app/ray-entrypoint.sh
|
COPY --chown=1000:100 --chmod=755 dockerfiles/ray-entrypoint.sh /app/ray-entrypoint.sh
|
||||||
|
|
||||||
# Environment configuration
|
# Environment configuration
|
||||||
ENV PYTHONPATH=/app \
|
ENV PYTHONPATH=/app \
|
||||||
|
|||||||
@@ -76,7 +76,7 @@ RUN --mount=type=cache,target=/home/ray/.cache/uv,uid=1000,gid=1000 \
|
|||||||
RUN python3 -c "from sentence_transformers import SentenceTransformer; SentenceTransformer('BAAI/bge-large-en-v1.5')"
|
RUN python3 -c "from sentence_transformers import SentenceTransformer; SentenceTransformer('BAAI/bge-large-en-v1.5')"
|
||||||
|
|
||||||
# Copy entrypoint script (ray-serve-apps is installed from PyPI at runtime)
|
# Copy entrypoint script (ray-serve-apps is installed from PyPI at runtime)
|
||||||
COPY --chown=ray:ray --chmod=755 dockerfiles/ray-entrypoint.sh /app/ray-entrypoint.sh
|
COPY --chown=1000:100 --chmod=755 dockerfiles/ray-entrypoint.sh /app/ray-entrypoint.sh
|
||||||
|
|
||||||
# Environment configuration
|
# Environment configuration
|
||||||
ENV PYTHONPATH=/app \
|
ENV PYTHONPATH=/app \
|
||||||
|
|||||||
@@ -86,7 +86,7 @@ RUN --mount=type=cache,target=/home/ray/.cache/uv,uid=1000,gid=1000 \
|
|||||||
# RUN python3 -c "from sentence_transformers import SentenceTransformer; SentenceTransformer('BAAI/bge-large-en-v1.5')"
|
# RUN python3 -c "from sentence_transformers import SentenceTransformer; SentenceTransformer('BAAI/bge-large-en-v1.5')"
|
||||||
|
|
||||||
# Copy entrypoint script (ray-serve-apps is installed from PyPI at runtime)
|
# Copy entrypoint script (ray-serve-apps is installed from PyPI at runtime)
|
||||||
COPY --chown=ray:ray --chmod=755 dockerfiles/ray-entrypoint.sh /app/ray-entrypoint.sh
|
COPY --chown=1000:100 --chmod=755 dockerfiles/ray-entrypoint.sh /app/ray-entrypoint.sh
|
||||||
|
|
||||||
# Environment configuration
|
# Environment configuration
|
||||||
ENV PYTHONPATH=/app \
|
ENV PYTHONPATH=/app \
|
||||||
|
|||||||
Reference in New Issue
Block a user