Skip to content

Commit fbe1b09

Browse files
authored
Merge pull request #1046 from viccuad/main
build: Bump version to 1.21.0-rc1, Dockerfile changes
2 parents 394f412 + 8322340 commit fbe1b09

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "policy-server"
3-
version = "1.20.0"
3+
version = "1.21.0-rc1"
44
authors = [
55
"Kubewarden Developers <kubewarden@suse.de>",
66
"Flavio Castelli <fcastelli@suse.com>",

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ COPY ./ ./
3434
RUN cargo install cargo-auditable
3535
RUN cargo auditable install --target x86_64-unknown-linux-musl --path .
3636

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

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

0 commit comments

Comments
 (0)