Skip to content

Commit 2295a00

Browse files
code fix
1 parent 4687a13 commit 2295a00

File tree

1 file changed

+16
-6
lines changed

1 file changed

+16
-6
lines changed

presto-native-execution/scripts/dockerfiles/ubuntu-22.04-dependency.dockerfile

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,19 @@ COPY velox/scripts /velox/scripts
3737
COPY velox/CMake/resolve_dependency_modules/arrow/cmake-compatibility.patch /velox
3838
ENV VELOX_ARROW_CMAKE_PATCH=/velox/cmake-compatibility.patch
3939
# install rpm needed for minio install.
40-
RUN mkdir build && \
41-
(cd build && ../scripts/setup-ubuntu.sh && \
42-
apt install -y rpm && \
43-
../velox/scripts/setup-ubuntu.sh install_adapters && \
44-
../scripts/setup-adapters.sh ) && \
45-
rm -rf build
40+
#RUN mkdir build && \
41+
# (cd build && ../scripts/setup-ubuntu.sh && \
42+
# apt install -y rpm && \
43+
# ../velox/scripts/setup-ubuntu.sh install_adapters && \
44+
# ../scripts/setup-adapters.sh ) && \
45+
# rm -rf build \
46+
RUN mkdir build && bash -c "{ \
47+
set -euxo pipefail; \
48+
cd build; \
49+
../scripts/setup-ubuntu.sh; \
50+
apt-get update && apt-get install -y rpm; \
51+
../velox/scripts/setup-ubuntu.sh install_adapters; \
52+
../scripts/setup-adapters.sh; \
53+
}" && \
54+
rm -rf build
55+

0 commit comments

Comments
 (0)