We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 78328be commit 2a2c4bfCopy full SHA for 2a2c4bf
opa/Dockerfile
@@ -21,9 +21,15 @@ RUN microdnf update \
21
22
WORKDIR /
23
24
+# WARNING (@NickLarsenNZ): We should pin the rustup version
25
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
26
RUN git clone --depth 1 --branch ${BUNDLE_BUILDER_VERSION} https://github.com/stackabletech/opa-bundle-builder
-RUN cd ./opa-bundle-builder && . "$HOME/.cargo/env" && cargo --quiet build --release
27
+RUN <<EOF
28
+cd ./opa-bundle-builder
29
+. "$HOME/.cargo/env"
30
+rustup toolchain install
31
+cargo --quiet build --release
32
+EOF
33
34
FROM stackable/image/stackable-base AS multilog-builder
35
0 commit comments