use 1.71 in dockerfile
This commit is contained in:
parent
e72a1b4a15
commit
367b4b6ff4
|
@ -2,7 +2,8 @@ name: Publish Docker Image
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [main]
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
env:
|
env:
|
||||||
IMAGE: mango-feeds
|
IMAGE: mango-feeds
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# syntax = docker/dockerfile:1.2
|
# syntax = docker/dockerfile:1.2
|
||||||
# Base image containing all binaries, deployed to gcr.io/mango-markets/mango-geyser-services:latest
|
# 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 cargo install cargo-chef
|
||||||
RUN rustup component add rustfmt
|
RUN rustup component add rustfmt
|
||||||
RUN apt-get update && apt-get install -y clang cmake ssh
|
RUN apt-get update && apt-get install -y clang cmake ssh
|
||||||
|
@ -9,6 +9,7 @@ WORKDIR /app
|
||||||
FROM base AS plan
|
FROM base AS plan
|
||||||
COPY . .
|
COPY . .
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
RUN rustup show
|
||||||
RUN cargo chef prepare --recipe-path recipe.json
|
RUN cargo chef prepare --recipe-path recipe.json
|
||||||
|
|
||||||
FROM base as build
|
FROM base as build
|
||||||
|
|
Loading…
Reference in New Issue