Skip to content

Commit

Permalink
updates aws docker file instructions includes necessary configuration…
Browse files Browse the repository at this point in the history
… to bound UCX port assignment
  • Loading branch information
mstaylor committed Aug 2, 2023
1 parent ab43bc8 commit 3064b04
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion aws/scripts/runCylon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ conda activate cylon_dev
set -euo pipefail

export LD_LIBRARY_PATH=/cylon/install/lib
export UCX_TCP_PORT_RANGE="33000"

exec python /cylon/aws/scripts/S3_run_script.py
10 changes: 9 additions & 1 deletion docker/aws/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@ ENV CYLON_HOME=/cylon
ENV CYLON_PREFIX=/cylon/install
ENV UCC_HOME=/ucc

#give ARG EXPOSE_ENV a default value
ARG EXPOSE_ENV=33000

#assign the EXPOSE_ENV arg to the EXPOSE_ENV ENV so that it can be accessed
#by the subsequent RUN call within the container
ENV EXPOSE_ENV $EXPOSE_ENV


WORKDIR $CYLON_HOME

RUN DEBIAN_FRONTEND=noninteractive apt-get update -y --fix-missing && \
Expand Down Expand Up @@ -76,6 +84,6 @@ RUN . /opt/conda/etc/profile.d/conda.sh && \

RUN chmod 0755 /cylon/aws/scripts/runCylon.sh

EXPOSE 33000
EXPOSE $EXPOSE_ENV

ENTRYPOINT ["/cylon/aws/scripts/runCylon.sh"]

0 comments on commit 3064b04

Please sign in to comment.