<commit_before># Tag: dd370179c351da043dfef62fcc68f24995e019c8
FROM mobylinux/alpine-build-ebpf@sha256:557bad7c437e8162440cd4d3de0ccd13a871fd78756bd8b50e1c9afcb8d01fc8

COPY error.h /usr/include/
COPY cdefs.h /usr/include/sys/
ADD kernel-headers.tar /
ADD kernel-dev.tar /
ADD kernel-modules.tar /
ADD 100-musl-compat.patch decl.patch intl.patch bcc-gnuism.patch ./
RUN cat elfutils-$ELFUTILS_VERSION.tar.bz2 | tar xjf -
RUN cd elfutils-$ELFUTILS_VERSION && \
  patch -p1 < ../100-musl-compat.patch && \
  patch -p0 < ../decl.patch && \
  patch -p0 < ../intl.patch && \
  automake && \
  ./configure --prefix=/usr CFLAGS=-Wno-strict-aliasing && \
  make -C libelf && make -C libelf install
RUN cd bcc && patch -p0 < ../bcc-gnuism.patch
RUN mkdir -p bcc/build && cd bcc/build && \
  cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DLUAJIT_INCLUDE_DIR=/usr/include/luajit-2.1 && \
  make && \
  make install
RUN mkdir -p /usr/local/share/lua/5.1/ && cd ljsyscall && cp -a *.lua syscall /usr/local/share/lua/5.1/<commit_msg>ebpf: set LD_LIBRARY_PATH in container<commit_after># Tag: dd370179c351da043dfef62fcc68f24995e019c8
FROM mobylinux/alpine-build-ebpf@sha256:557bad7c437e8162440cd4d3de0ccd13a871fd78756bd8b50e1c9afcb8d01fc8

COPY error.h /usr/include/
COPY cdefs.h /usr/include/sys/
ADD kernel-headers.tar /
ADD kernel-dev.tar /
ADD kernel-modules.tar /
ADD 100-musl-compat.patch decl.patch intl.patch bcc-gnuism.patch ./
RUN cat elfutils-$ELFUTILS_VERSION.tar.bz2 | tar xjf -
RUN cd elfutils-$ELFUTILS_VERSION && \
  patch -p1 < ../100-musl-compat.patch && \
  patch -p0 < ../decl.patch && \
  patch -p0 < ../intl.patch && \
  automake && \
  ./configure --prefix=/usr CFLAGS=-Wno-strict-aliasing && \
  make -C libelf && make -C libelf install
RUN cd bcc && patch -p0 < ../bcc-gnuism.patch
RUN mkdir -p bcc/build && cd bcc/build && \
  cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DLUAJIT_INCLUDE_DIR=/usr/include/luajit-2.1 && \
  make && \
  make install
RUN mkdir -p /usr/local/share/lua/5.1/ && cd ljsyscall && cp -a *.lua syscall /usr/local/share/lua/5.1/

ENV LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/lib64
{'fraction_non_alphanumeric': 0.15061963775023832, 'fraction_numerical': 0.07816968541468065, 'mean_word_length': 3.3189300411522633, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6408408', 'n_tokens_mistral': 980, 'n_tokens_neox': 859, 'n_words': 163}