Skip to content

Commit

Permalink
Fix Dockerfile to support MSRV 1.81
Browse files Browse the repository at this point in the history
Fix the Dockerfile such that it's based on a rust image that meets the
minimum supported rust version (MSRV) defined in cargo (1.81).

In a prior commit the MSRV was updated in cargo but not in the
Dockerfile. We should add a check to ensure these two versions remain
synchronized. One way to do this is with a step in the build that builds
the Dockerfile into an image and is required to pass before code can be
committed to the main branch.

Refs: d2cbc3e
Signed-off-by: Ben Webb <[email protected]>
  • Loading branch information
benjaminedwardwebb committed Nov 8, 2024
1 parent aa74877 commit 3e5f04e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vtn.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:1.80 as base
FROM rust:1.81 as base
RUN apt-get update && apt-get install -y --no-install-recommends curl && apt-get clean

FROM base as builder
Expand Down

0 comments on commit 3e5f04e

Please sign in to comment.