Skip to content

Commit

Permalink
Merge pull request #1046 from viccuad/main
Browse files Browse the repository at this point in the history
build: Bump version to 1.21.0-rc1, Dockerfile changes
  • Loading branch information
viccuad authored Jan 22, 2025
2 parents 394f412 + 8322340 commit fbe1b09
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "policy-server"
version = "1.20.0"
version = "1.21.0-rc1"
authors = [
"Kubewarden Developers <[email protected]>",
"Flavio Castelli <[email protected]>",
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ COPY ./ ./
RUN cargo install cargo-auditable
RUN cargo auditable install --target x86_64-unknown-linux-musl --path .

FROM --platform=$BUILDPLATFORM alpine AS cfg
FROM --platform=$BUILDPLATFORM alpine:3.21.2 AS cfg
RUN echo "policy-server:x:65533:65533::/tmp:/sbin/nologin" >> /etc/passwd
RUN echo "policy-server:x:65533:policy-server" >> /etc/group

Expand All @@ -48,7 +48,7 @@ COPY --from=build-arm64 --chmod=0755 /root/.cargo/bin/policy-server /policy-serv
FROM copy-${TARGETARCH}
COPY --from=cfg /etc/passwd /etc/passwd
COPY --from=cfg /etc/group /etc/group
ADD Cargo.lock /Cargo.lock
COPY ./Cargo.lock /Cargo.lock
USER 65533:65533
EXPOSE 3000
ENTRYPOINT ["/policy-server"]

0 comments on commit fbe1b09

Please sign in to comment.