Skip to content

Commit

Permalink
[native] Fix docker-compose and add etc config into native worker doc…
Browse files Browse the repository at this point in the history
…ker image
  • Loading branch information
wypb authored and majetideepak committed Aug 22, 2024
1 parent 8106613 commit 1ab72db
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions presto-native-execution/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,16 @@ services:
# Usage:
# docker compose build centos-native-dependency
# podman compose build centos-native-dependency
image: presto/prestissimo-dependency:centos8
image: presto/prestissimo-dependency:centos9
build:
context: .
dockerfile: scripts/dockerfiles/centos-8-stream-dependency.dockerfile
dockerfile: scripts/dockerfiles/centos-dependency.dockerfile

centos-native-runtime:
# Usage:
# docker compose build centos-native-runtime
# podman compose build centos-native-runtime
image: presto/prestissimo-runtime:centos8
image: presto/prestissimo-runtime:centos9
build:
args:
# A few files in Velox require significant memory to compile and link.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ ENV BUILD_DIR=""

COPY --chmod=0775 --from=prestissimo-image /prestissimo/${BUILD_BASE_DIR}/${BUILD_DIR}/presto_cpp/main/presto_server /usr/bin/
COPY --chmod=0775 --from=prestissimo-image /runtime-libraries/* /usr/lib64/prestissimo-libs/
COPY --chmod=0755 ./etc /opt/presto-server/etc
COPY --chmod=0775 ./entrypoint.sh /opt/entrypoint.sh
RUN echo "/usr/lib64/prestissimo-libs" > /etc/ld.so.conf.d/prestissimo.conf && ldconfig

Expand Down

0 comments on commit 1ab72db

Please sign in to comment.