Skip to content

Commit

Permalink
Merge branch 'dev' into pending-version-change/0.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
touma-I committed Dec 16, 2024
2 parents 4fb2f8a + 4953e82 commit ed6daf5
Show file tree
Hide file tree
Showing 25 changed files with 75 additions and 0 deletions.
3 changes: 3 additions & 0 deletions kfp/kfp_ray_components/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ COPY ./src /pipelines/component/src
# Set environment
ENV KFP_v2=$KFP_v2

# Grant non-root users the necessary permissions to the ray directory
RUN chmod 755 /home/ray

# Put these at the end since they seem to upset the docker cache.
ARG BUILD_DATE
ARG GIT_COMMIT
Expand Down
3 changes: 3 additions & 0 deletions transforms/code/code2parquet/ray/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ COPY src/code2parquet_local_ray.py local/
COPY test/ test/
COPY test-data/ test-data/

# Grant non-root users the necessary permissions to the ray directory
RUN chmod 755 /home/ray

# Set environment
ENV PYTHONPATH /home/ray

Expand Down
3 changes: 3 additions & 0 deletions transforms/code/code_profiler/ray/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ COPY ./src/code_profiler_local_ray.py local/
COPY test/ test/
COPY test-data/ test-data/

# Grant non-root users the necessary permissions to the ray directory
RUN chmod 755 /home/ray

# Set environment
ENV PYTHONPATH /home/ray

Expand Down
3 changes: 3 additions & 0 deletions transforms/code/code_quality/ray/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ COPY ./src/code_quality_local_ray.py local/
COPY test/ test/
COPY test-data/ test-data/

# Grant non-root users the necessary permissions to the ray directory
RUN chmod 755 /home/ray

# Set environment
ENV PYTHONPATH /home/ray

Expand Down
3 changes: 3 additions & 0 deletions transforms/code/header_cleanser/ray/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ COPY src/header_cleanser_local_ray.py local/
COPY test/ test/
COPY test-data/ test-data/

# Grant non-root users the necessary permissions to the ray directory
RUN chmod 755 /home/ray

# Set environment
ENV PYTHONPATH /home/ray

Expand Down
3 changes: 3 additions & 0 deletions transforms/code/license_select/ray/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ COPY src/license_select_local_ray.py local/
COPY test/ test/
COPY test-data/ test-data/

# Grant non-root users the necessary permissions to the ray directory
RUN chmod 755 /home/ray

# Put these at the end since they seem to upset the docker cache.
ARG BUILD_DATE
ARG GIT_COMMIT
Expand Down
3 changes: 3 additions & 0 deletions transforms/code/malware/ray/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ COPY src/malware_local_ray.py local/
COPY test/ test/
COPY test-data/ test-data/

# Grant non-root users the necessary permissions to the ray directory
RUN chmod 755 /home/ray

ENV PYTHONPATH /home/ray

USER root
Expand Down
3 changes: 3 additions & 0 deletions transforms/code/proglang_select/ray/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ COPY ./src/proglang_select_local_ray.py local/
COPY test/ test/
COPY test-data/ test-data/

# Grant non-root users the necessary permissions to the ray directory
RUN chmod 755 /home/ray

# Set environment
ENV PYTHONPATH /home/ray

Expand Down
3 changes: 3 additions & 0 deletions transforms/code/repo_level_ordering/ray/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ COPY ./src/repo_level_order_s3_ray.py local/
COPY test/ test/
COPY test-data/ test-data/

# Grant non-root users the necessary permissions to the ray directory
RUN chmod 755 /home/ray

# Set environment
ENV PYTHONPATH /home/ray:/home/ray/src

Expand Down
3 changes: 3 additions & 0 deletions transforms/language/doc_chunk/ray/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ COPY ./src/doc_chunk_local_ray.py local/
COPY test/ test/
COPY test-data/ test-data/

# Grant non-root users the necessary permissions to the ray directory
RUN chmod 755 /home/ray

# Set environment
ENV PYTHONPATH /home/ray

Expand Down
3 changes: 3 additions & 0 deletions transforms/language/doc_quality/ray/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ COPY test/ test/
COPY test-data/ test-data/
COPY ldnoobw/ ldnoobw/

# Grant non-root users the necessary permissions to the ray directory
RUN chmod 755 /home/ray

# Set environment
ENV PYTHONPATH /home/ray

Expand Down
3 changes: 3 additions & 0 deletions transforms/language/html2parquet/ray/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ COPY --chown=ray:users ./src/html2parquet_local_ray.py local/
COPY test/ test/
COPY test-data/ test-data/

# Grant non-root users the necessary permissions to the ray directory
RUN chmod 755 /home/ray

# Set environment
ENV PYTHONPATH /home/ray

Expand Down
3 changes: 3 additions & 0 deletions transforms/language/lang_id/ray/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ COPY ./src/lang_id_local_ray.py local/
COPY test/ test/
COPY test-data/ test-data/

# Grant non-root users the necessary permissions to the ray directory
RUN chmod 755 /home/ray

# Set environment
ENV PYTHONPATH /home/ray

Expand Down
3 changes: 3 additions & 0 deletions transforms/language/pdf2parquet/ray/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ COPY --chown=ray:users ./src/pdf2parquet_local_ray.py local/
COPY test/ test/
COPY test-data/ test-data/

# Grant non-root users the necessary permissions to the ray directory
RUN chmod 755 /home/ray

# Set environment
ENV PYTHONPATH /home/ray

Expand Down
3 changes: 3 additions & 0 deletions transforms/language/pii_redactor/ray/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ COPY ./src/pii_redactor_local_ray.py local/
COPY test/ test/
COPY test-data/ test-data/

# Grant non-root users the necessary permissions to the ray directory
RUN chmod 755 /home/ray

# Set environment
ENV PYTHONPATH /home/ray

Expand Down
3 changes: 3 additions & 0 deletions transforms/language/text_encoder/ray/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ COPY ./src/text_encoder_local_ray.py local/
COPY test/ test/
COPY test-data/ test-data/

# Grant non-root users the necessary permissions to the ray directory
RUN chmod 755 /home/ray

# Set environment
ENV PYTHONPATH /home/ray

Expand Down
3 changes: 3 additions & 0 deletions transforms/universal/doc_id/ray/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ COPY src/doc_id_local_ray.py local/
COPY test/ test/
COPY test-data/ test-data/

# Grant non-root users the necessary permissions to the ray directory
RUN chmod 755 /home/ray

# Set environment
ENV PYTHONPATH /home/ray

Expand Down
3 changes: 3 additions & 0 deletions transforms/universal/ededup/ray/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ COPY src/ededup_local_ray.py local/
COPY test/ test/
COPY test-data/ test-data/

# Grant non-root users the necessary permissions to the ray directory
RUN chmod 755 /home/ray

# Set environment
ENV PYTHONPATH /home/ray

Expand Down
3 changes: 3 additions & 0 deletions transforms/universal/fdedup/ray/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ COPY --chown=ray:users ./src/signature_calc_local_ray.py local/fdedup_local_ray.
COPY test/ test/
COPY test-data/ test-data/

# Grant non-root users the necessary permissions to the ray directory
RUN chmod 755 /home/ray

USER root
RUN chmod a+rwx /home/ray
USER ray
Expand Down
3 changes: 3 additions & 0 deletions transforms/universal/filter/ray/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ COPY src/filter_local_ray.py local/
COPY test/ test/
COPY test-data/ test-data/

# Grant non-root users the necessary permissions to the ray directory
RUN chmod 755 /home/ray

# Set environment
ENV PYTHONPATH /home/ray

Expand Down
3 changes: 3 additions & 0 deletions transforms/universal/hap/ray/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ COPY ./src/hap_local_ray.py local/
COPY test/ test/
COPY test-data/ test-data/

# Grant non-root users the necessary permissions to the ray directory
RUN chmod 755 /home/ray

# Set environment
ENV PYTHONPATH /home/ray

Expand Down
3 changes: 3 additions & 0 deletions transforms/universal/noop/ray/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ COPY ./src/noop_local_ray.py local/
COPY test/ test/
COPY test-data/ test-data/

# Grant non-root users the necessary permissions to the ray directory
RUN chmod 755 /home/ray

# Set environment
ENV PYTHONPATH /home/ray

Expand Down
3 changes: 3 additions & 0 deletions transforms/universal/profiler/ray/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ COPY src/profiler_local_ray.py local/
COPY test/ test/
COPY test-data/ test-data/

# Grant non-root users the necessary permissions to the ray directory
RUN chmod 755 /home/ray

# Set environment
ENV PYTHONPATH /home/ray

Expand Down
3 changes: 3 additions & 0 deletions transforms/universal/resize/ray/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ COPY ./src/resize_local_ray.py local/
COPY test/ test/
COPY test-data/ test-data/

# Grant non-root users the necessary permissions to the ray directory
RUN chmod 755 /home/ray

USER root
RUN chown -R ray /home/ray/test
RUN chown -R ray /home/ray/test-data
Expand Down
3 changes: 3 additions & 0 deletions transforms/universal/tokenization/ray/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ COPY src/tokenization_local_ray.py local/
COPY test/ test/
COPY test-data/ test-data/

# Grant non-root users the necessary permissions to the ray directory
RUN chmod 755 /home/ray

# Set environment
ENV PYTHONPATH /home/ray

Expand Down

0 comments on commit ed6daf5

Please sign in to comment.