File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,8 @@ RUN mkdir /usr/src/policy-server
13
13
WORKDIR /usr/src/policy-server
14
14
COPY ./ ./
15
15
16
- RUN cargo install --target aarch64-unknown-linux-musl --path .
16
+ RUN cargo install cargo-auditable
17
+ RUN cargo auditable install --target aarch64-unknown-linux-musl --path .
17
18
18
19
FROM --platform=${BUILDPLATFORM} ghcr.io/cross-rs/x86_64-unknown-linux-musl:0.2.5 AS build-amd64
19
20
ARG BUILDPLATFORM
@@ -30,7 +31,8 @@ RUN mkdir /usr/src/policy-server
30
31
WORKDIR /usr/src/policy-server
31
32
COPY ./ ./
32
33
33
- RUN cargo install --target x86_64-unknown-linux-musl --path .
34
+ RUN cargo install cargo-auditable
35
+ RUN cargo auditable install --target x86_64-unknown-linux-musl --path .
34
36
35
37
FROM --platform=$BUILDPLATFORM alpine AS cfg
36
38
RUN echo "policy-server:x:65533:65533::/tmp:/sbin/nologin" >> /etc/passwd
You can’t perform that action at this time.
0 commit comments