Fix Dockerfile, don't use published images for liq/keeper

This commit is contained in:
Christian Kamm 2024-04-14 08:08:02 +02:00
parent 1c8c8ddb48
commit 48be23f43f
3 changed files with 11 additions and 7 deletions

View File

@ -1,9 +1,7 @@
# syntax = docker/dockerfile:1.2
# Base image containing all binaries, deployed to ghcr.io/blockworks-foundation/mango-v4:latest
FROM rust:1.69.0-bullseye as base
RUN cargo install cargo-chef --locked
RUN rustup component add rustfmt
RUN apt-get update && apt-get -y install clang cmake
FROM lukemathwalker/cargo-chef:latest-rust-1.69-slim-bullseye as base
RUN apt-get update && apt-get -y install clang cmake perl libfindbin-libs-perl
WORKDIR /app
FROM base as plan

View File

@ -3,8 +3,11 @@ kill_signal = "SIGTERM"
kill_timeout = 30
[build]
dockerfile = "../bin/keeper/Dockerfile.keeper"
dockerfile = "../Dockerfile"
[experimental]
cmd = ["crank"]
[metrics]
port = 9091
path = "/metrics"
path = "/metrics"

View File

@ -3,4 +3,7 @@ kill_signal = "SIGTERM"
kill_timeout = 30
[build]
dockerfile = "../bin/liquidator/Dockerfile.liquidator"
dockerfile = "../Dockerfile"
[experimental]
cmd = ["liquidator"]