Fix Dockerfile, don't use published images for liq/keeper
This commit is contained in:
parent
1c8c8ddb48
commit
48be23f43f
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -3,4 +3,7 @@ kill_signal = "SIGTERM"
|
|||
kill_timeout = 30
|
||||
|
||||
[build]
|
||||
dockerfile = "../bin/liquidator/Dockerfile.liquidator"
|
||||
dockerfile = "../Dockerfile"
|
||||
|
||||
[experimental]
|
||||
cmd = ["liquidator"]
|
||||
|
|
Loading…
Reference in New Issue