Skip to content

Commit

Permalink
Auto merge of #741 - rust-lang:chore-docker-update-to-ubuntu-24, r=Ma…
Browse files Browse the repository at this point in the history
…rk-Simulacrum

chore(docker): update to ubuntu 24

Tested locally running `docker build -t my-crater .`

On mac, you need `export DOCKER_DEFAULT_PLATFORM=linux/amd64`
  • Loading branch information
bors committed Oct 7, 2024
2 parents 499f576 + daebdfa commit 10c2ccb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# Build image #
#################

FROM ubuntu:focal AS build
FROM ubuntu:24.04 AS build

RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
ca-certificates \
Expand Down Expand Up @@ -51,7 +51,7 @@ RUN find /source -name "*.rs" -exec touch {} \; && cargo build --release
# Output image #
##################

FROM ubuntu:focal AS binary
FROM ubuntu:24.04 AS binary

RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
docker.io \
Expand Down

0 comments on commit 10c2ccb

Please sign in to comment.