Skip to content

Commit da60923

Browse files
Fix plugin installdir
This ensures that the plugin is picked up at runtime without any additional configuration.
1 parent 4dbbeeb commit da60923

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ COPY . /tmp/trim/
55

66
RUN cmake -S /tmp/trim -B /tmp/trim/build -G Ninja -D CMAKE_INSTALL_PREFIX:STRING="$PREFIX"
77
RUN cmake --build /tmp/trim/build --parallel
8-
RUN cmake --install /tmp/trim/build --strip --component Runtime --prefix /opt/tenzir/plugin/trim
8+
RUN cmake --install /tmp/trim/build --strip --component Runtime --prefix /tmp/trim/install
99

1010
FROM builder AS test
1111

@@ -15,4 +15,4 @@ ENTRYPOINT cmake --build /tmp/trim/build --target update-integration
1515

1616
FROM ghcr.io/tenzir/tenzir:${TENZIR_VERSION}
1717

18-
COPY --from=builder --chown=tenzir:tenzir /opt/tenzir/plugin/trim /opt/tenzir/plugin/trim
18+
COPY --from=builder --chown=tenzir:tenzir /tmp/trim/install /opt/tenzir

0 commit comments

Comments
 (0)