Skip to content

Commit

Permalink
More changes.
Browse files Browse the repository at this point in the history
Signed-off-by: Revital Sur <[email protected]>
  • Loading branch information
revit13 committed Jan 26, 2025
1 parent 6253bac commit 40c2889
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions transforms/code/code2parquet/ray/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ COPY --chmod=775 --chown=ray:root src/code2parquet_transform_ray.py .
COPY --chmod=775 --chown=ray:root src/code2parquet_local_ray.py local/

# copy test
COPY test/ test/
COPY test-data/ test-data/
COPY --chmod=775 --chown=ray:root test/ test/
COPY --chmod=775 --chown=ray:root test-data/ test-data/

# Set environment
ENV PYTHONPATH /home/ray
Expand Down
6 changes: 3 additions & 3 deletions transforms/code/header_cleanser/ray/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ RUN sudo apt-get update && sudo apt-get install -y \
User ray

# copy source data
COPY ./src/header_cleanser_transform_ray.py .
COPY --chmod=775 --chown=ray:root ./src/header_cleanser_transform_ray.py .
COPY --chmod=775 --chown=ray:root src/header_cleanser_local_ray.py local/

# copy test
COPY test/ test/
COPY test-data/ test-data/
COPY --chmod=775 --chown=ray:root test/ test/
COPY --chmod=775 --chown=ray:root test-data/ test-data/

# Set environment
ENV PYTHONPATH /home/ray
Expand Down
4 changes: 2 additions & 2 deletions transforms/code/license_select/ray/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ COPY --chmod=775 --chown=ray:root src/license_select_transform_ray.py .
COPY --chmod=775 --chown=ray:root src/license_select_local_ray.py local/

# copy test
COPY test/ test/
COPY test-data/ test-data/
COPY --chmod=775 --chown=ray:root test/ test/
COPY --chmod=775 --chown=ray:root test-data/ test-data/

# Put these at the end since they seem to upset the docker cache.
ARG BUILD_DATE
Expand Down
8 changes: 4 additions & 4 deletions transforms/code/proglang_select/ray/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ COPY --chmod=775 --chown=ray:root pyproject.toml pyproject.toml
RUN pip install --no-cache-dir -e .

# copy the main() entry point to the image
COPY ./src/proglang_select_transform_ray.py .
COPY --chmod=775 --chown=ray:root ./src/proglang_select_transform_ray.py .

# copy some of the samples in
COPY ./src/proglang_select_local_ray.py local/
COPY --chmod=775 --chown=ray:root ./src/proglang_select_local_ray.py local/

# copy test
COPY test/ test/
COPY test-data/ test-data/
COPY --chmod=775 --chown=ray:root test/ test/
COPY --chmod=775 --chown=ray:root test-data/ test-data/

# Set environment
ENV PYTHONPATH /home/ray
Expand Down
10 changes: 5 additions & 5 deletions transforms/code/repo_level_ordering/ray/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ COPY --chmod=775 --chown=ray:root README.md README.md
RUN pip install --no-cache-dir -e .

# copy source data
COPY ./src/repo_level_order_transform_ray.py .
COPY ./src/repo_level_order_local_ray.py local/
COPY ./src/repo_level_order_s3_ray.py local/
COPY --chmod=775 --chown=ray:root ./src/repo_level_order_transform_ray.py .
COPY --chmod=775 --chown=ray:root ./src/repo_level_order_local_ray.py local/
COPY --chmod=775 --chown=ray:root ./src/repo_level_order_s3_ray.py local/

# copy test
COPY test/ test/
COPY test-data/ test-data/
COPY --chmod=775 --chown=ray:root test/ test/
COPY --chmod=775 --chown=ray:root test-data/ test-data/

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

0 comments on commit 40c2889

Please sign in to comment.