File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed
presto-native-execution/scripts/dockerfiles Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -36,10 +36,19 @@ COPY velox/scripts /velox/scripts
3636# from https://github.com/facebookincubator/velox/pull/14016
3737COPY velox/CMake/resolve_dependency_modules/arrow/cmake-compatibility.patch /velox
3838ENV VELOX_ARROW_CMAKE_PATCH=/velox/cmake-compatibility.patch
39+
40+ RUN if [ "$(dpkg --print-architecture)" = "arm64" ]; then \
41+ apt update && \
42+ apt install -y software-properties-common && \
43+ add-apt-repository -y ppa:ubuntu-toolchain-r/test && \
44+ apt update && \
45+ apt install -y gcc-12 g++-12; \
46+ fi
47+
3948# install rpm needed for minio install.
4049RUN mkdir build && \
41- (cd build && ../scripts/setup-ubuntu.sh && \
42- apt install -y rpm && \
50+ (cd build && apt update && apt install -y rpm sudo && \
51+ ../scripts/setup-ubuntu.sh && \
4352 ../velox/scripts/setup-ubuntu.sh install_adapters && \
4453 ../scripts/setup-adapters.sh ) && \
4554 rm -rf build
You can’t perform that action at this time.
0 commit comments