File tree Expand file tree Collapse file tree 2 files changed +0
-36
lines changed Expand file tree Collapse file tree 2 files changed +0
-36
lines changed Original file line number Diff line number Diff line change 11# syntax=docker/dockerfile:1.10.0@sha256:865e5dd094beca432e8c0a1d5e1c465db5f998dca4e439981029b3b81fb39ed5
22# check=error=true
33
4- FROM stackable/image/stackable-base AS opa-bundle-builder
5-
6- ARG BUNDLE_BUILDER_VERSION
7-
8- # Update image and install everything needed for Rustup & Rust
9- RUN <<EOF
10- microdnf update
11- microdnf install \
12- cmake \
13- gcc \
14- gcc-c++ \
15- git \
16- make \
17- openssl-devel \
18- pkg-config \
19- systemd-devel \
20- unzip
21- rm -rf /var/cache/yum
22- EOF
23-
24- WORKDIR /
25-
26- # WARNING (@NickLarsenNZ): We should pin the rustup version
27- RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
28- RUN git clone --depth 1 --branch ${BUNDLE_BUILDER_VERSION} https://github.com/stackabletech/opa-bundle-builder
29- RUN <<EOF
30- cd ./opa-bundle-builder
31- . "$HOME/.cargo/env"
32- rustup toolchain install
33- cargo --quiet build --release
34- # set correct groups
35- chmod -R g=u /opa-bundle-builder/target/release/
36- EOF
37-
384FROM stackable/image/stackable-base AS multilog-builder
395
406ARG DAEMONTOOLS_VERSION=0.76
@@ -137,7 +103,6 @@ LABEL name="Open Policy Agent" \
137103COPY --chown=${STACKABLE_USER_UID}:0 opa/licenses /licenses
138104
139105COPY --from=opa-builder --chown=${STACKABLE_USER_UID}:0 /stackable/opa /stackable/opa
140- COPY --from=opa-bundle-builder --chown=${STACKABLE_USER_UID}:0 /opa-bundle-builder/target/release/stackable-opa-bundle-builder /stackable/opa-bundle-builder
141106COPY --from=multilog-builder --chown=${STACKABLE_USER_UID}:0 /daemontools/admin/daemontools/command/multilog /stackable/multilog
142107
143108RUN <<EOF
Original file line number Diff line number Diff line change 22 {
33 "product" : "1.0.1" ,
44 "vector" : "0.46.1" ,
5- "bundle_builder_version" : "1.1.2" ,
65 "stackable-base" : "1.0.0" ,
76 },
87]
You can’t perform that action at this time.
0 commit comments