use 1.71 in dockerfile

This commit is contained in:
GroovieGermanikus 2023-09-06 17:23:27 +02:00
parent e72a1b4a15
commit 367b4b6ff4
2 changed files with 4 additions and 2 deletions

View File

@ -2,7 +2,8 @@ name: Publish Docker Image
on:
push:
branches: [main]
branches:
- main
env:
IMAGE: mango-feeds

View File

@ -1,6 +1,6 @@
# syntax = docker/dockerfile:1.2
# Base image containing all binaries, deployed to gcr.io/mango-markets/mango-geyser-services:latest
FROM rust:1.65.0 as base
FROM rust:1.71.1-bullseye as base
RUN cargo install cargo-chef
RUN rustup component add rustfmt
RUN apt-get update && apt-get install -y clang cmake ssh
@ -9,6 +9,7 @@ WORKDIR /app
FROM base AS plan
COPY . .
WORKDIR /app
RUN rustup show
RUN cargo chef prepare --recipe-path recipe.json
FROM base as build