From 367b4b6ff455168af7908c61d769c4056d982a20 Mon Sep 17 00:00:00 2001 From: GroovieGermanikus Date: Wed, 6 Sep 2023 17:23:27 +0200 Subject: [PATCH] use 1.71 in dockerfile --- .github/workflows/docker-publish.yml | 3 ++- Dockerfile | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 6149adf..b6d0830 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -2,7 +2,8 @@ name: Publish Docker Image on: push: - branches: [main] + branches: + - main env: IMAGE: mango-feeds diff --git a/Dockerfile b/Dockerfile index b93a02f..e50f67c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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