Skip to content

Commit

Permalink
Upgrade from Debian Bullseye to Bookworm for Rust (#3571)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kalaiselvi84 authored Jan 9, 2024
1 parent af75153 commit e7b24d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/rust-simple/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ COPY Makefile /home/builder/agones/examples/rust-simple/
WORKDIR /home/builder/agones/examples/rust-simple
RUN make build-server

FROM debian:bullseye
FROM debian:bookworm
RUN useradd -u 1000 -m server

COPY --from=builder --chown=server:server /home/builder/agones/examples/rust-simple/target/release/rust-simple /home/server/rust-simple
Expand Down
4 changes: 2 additions & 2 deletions examples/rust-simple/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ mkfile_path := $(abspath $(lastword $(MAKEFILE_LIST)))
project_path := $(dir $(mkfile_path))
root_path := $(realpath $(project_path)/../..)
ifeq ($(REPOSITORY),)
server_tag := rust-simple-server:0.12
server_tag := rust-simple-server:0.13
else
server_tag := $(REPOSITORY)/rust-simple-server:0.12
server_tag := $(REPOSITORY)/rust-simple-server:0.13
endif

# _____ _
Expand Down

0 comments on commit e7b24d2

Please sign in to comment.