summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index 32ba81f..943f686 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,5 +1,7 @@
# syntax=docker/dockerfile:1
-FROM docker.io/rust:1.69-bullseye AS builder
+FROM docker.io/rust:1.70-bullseye AS base
+
+FROM base AS builder
WORKDIR /usr/src/conduit
# Install required packages to build Conduit and it's dependencies
@@ -37,7 +39,7 @@ COPY --from=builder /usr/src/conduit/target/release/conduit /conduit
# ---------------------------------------------------------------------------------------------------------------
# Build cargo-deb, a tool to package up rust binaries into .deb packages for Debian/Ubuntu based systems:
# ---------------------------------------------------------------------------------------------------------------
-FROM docker.io/rust:1.69-bullseye AS build-cargo-deb
+FROM base AS build-cargo-deb
RUN apt-get update && \
apt-get install -y --no-install-recommends \