Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
4eUeP committed Feb 28, 2024
1 parent dc1a0c6 commit d6f087e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,15 @@ COPY --from=ghcr.io/hstreamdb/grpc:1.54.2 /usr/local/lib/ /usr/local/lib/
COPY requirements/ /tmp/requirements/
RUN apt-get update && \
DEBIAN_FRONTEND="noninteractive" apt-get install -y --no-install-recommends \
$(cat /tmp/requirements/ubuntu-jammy.txt) && \
$(cat /tmp/requirements/ubuntu-jammy.txt) libjemalloc2 && \
rm -rf /tmp/requirements && rm -rf /var/lib/apt/lists/* && apt-get clean

COPY --from=ld_client /usr/local/lib/ /usr/local/lib/
COPY --from=ld_client /usr/local/include/ /usr/local/include/
COPY --from=ld_client /usr/lib/libjemalloc.so.2 /usr/lib/
RUN ln -sr /usr/lib/libjemalloc.so.2 /usr/lib/libjemalloc.so && \
# COPY --from=ld_client /usr/lib/libjemalloc.so.2 /usr/lib/

# ln -sr /usr/lib/libjemalloc.so.2 /usr/lib/libjemalloc.so && \
RUN \
[ -f "/usr/local/include/thrift/lib/thrift/gen-cpp2/RpcMetadata_types.h" ] && \
# temporary fix of "cabal build --enable-profiling" \
sed -i '/^#pragma once/a #ifdef PROFILING\n#undef PROFILING\n#endif' /usr/local/include/thrift/lib/thrift/gen-cpp2/RpcMetadata_types.h
Expand Down
2 changes: 1 addition & 1 deletion checksum/haskell.sha256sum
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20c40e1d008514b1a89c59e1678cc41a5429c89eea1c7800e6d169dd7fb7ba4d Dockerfile
ae3e58033011f2bcc0ed71368ba191b6f911460be3f56f0e84fd075df16c8527 Dockerfile

0 comments on commit d6f087e

Please sign in to comment.