Skip to content

Commit

Permalink
feat: patch for adapt to GVLKs of 2021
Browse files Browse the repository at this point in the history
  • Loading branch information
mogeko committed Nov 16, 2024
1 parent 79519e5 commit f0f141f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Binary file added 00-adapt-gvlks-of-2021.patch
Binary file not shown.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ COPY ./vlmcsd-*/etc /opt/vlmcsd/etc
COPY ./vlmcsd-*/src /opt/vlmcsd/src
COPY ./vlmcsd-*/GNUmakefile /opt/vlmcsd/GNUmakefile
COPY ./vlmcsd-*/Makefile /opt/vlmcsd/Makefile
COPY ./*.patch /opt/

ARG VLMCSD_VERSION="private\ build"
ARG CC="clang"
ENV CC="${CC}" VLMCSD_VERSION="${VLMCSD_VERSION}"
RUN make -C /opt/vlmcsd -j$(nproc)
RUN for p in /opt/*.patch; do patch -d /opt/vlmcsd -p2 < $p; done
RUN MAX_THREADS="$(nproc)" make -C /opt/vlmcsd

FROM gcr.io/distroless/base-nossl-debian12:nonroot

Expand Down

0 comments on commit f0f141f

Please sign in to comment.