apt needs '--yes'
This commit is contained in:
parent
ecd94c72c1
commit
586b772cdf
@ -17,7 +17,7 @@ RUN --mount=type=cache,target=/usr/local/cargo/registry \
|
|||||||
ENV PATH /root/.foundry/bin:$PATH
|
ENV PATH /root/.foundry/bin:$PATH
|
||||||
RUN curl -L https://foundry.paradigm.xyz | bash && foundryup
|
RUN curl -L https://foundry.paradigm.xyz | bash && foundryup
|
||||||
|
|
||||||
RUN apt-get update && apt-get install librdkafka-dev && rm -rf /var/lib/apt/lists/*
|
RUN apt-get update && apt-get install --yes librdkafka-dev && rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# copy the application
|
# copy the application
|
||||||
COPY . .
|
COPY . .
|
||||||
|
@ -1,15 +1,15 @@
|
|||||||
use argh::FromArgs;
|
use argh::FromArgs;
|
||||||
|
|
||||||
#[derive(FromArgs, PartialEq, Debug)]
|
#[derive(FromArgs, PartialEq, Debug)]
|
||||||
/// Second subcommand.
|
/// An example subcommand. Copy paste this into a new file.
|
||||||
#[argh(subcommand, name = "two")]
|
#[argh(subcommand, name = "example")]
|
||||||
pub struct SubCommandTwo {
|
pub struct ExampleSubcommand {
|
||||||
#[argh(switch)]
|
#[argh(switch)]
|
||||||
/// whether to fooey
|
/// whether to fooey
|
||||||
fooey: bool,
|
fooey: bool,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl SubCommandTwo {
|
impl ExampleSubcommand {
|
||||||
pub async fn main(self) -> anyhow::Result<()> {
|
pub async fn main(self) -> anyhow::Result<()> {
|
||||||
todo!()
|
todo!()
|
||||||
}
|
}
|
||||||
|
@ -13,6 +13,7 @@ mod pagerduty;
|
|||||||
mod popularity_contest;
|
mod popularity_contest;
|
||||||
mod proxyd;
|
mod proxyd;
|
||||||
mod rpc_accounting;
|
mod rpc_accounting;
|
||||||
|
mod search_kafka;
|
||||||
mod sentryd;
|
mod sentryd;
|
||||||
mod transfer_key;
|
mod transfer_key;
|
||||||
mod user_export;
|
mod user_export;
|
||||||
@ -80,6 +81,7 @@ enum SubCommand {
|
|||||||
PopularityContest(popularity_contest::PopularityContestSubCommand),
|
PopularityContest(popularity_contest::PopularityContestSubCommand),
|
||||||
Proxyd(proxyd::ProxydSubCommand),
|
Proxyd(proxyd::ProxydSubCommand),
|
||||||
RpcAccounting(rpc_accounting::RpcAccountingSubCommand),
|
RpcAccounting(rpc_accounting::RpcAccountingSubCommand),
|
||||||
|
SearchKafka(search_kafka::SearchKafkaSubCommand),
|
||||||
Sentryd(sentryd::SentrydSubCommand),
|
Sentryd(sentryd::SentrydSubCommand),
|
||||||
TransferKey(transfer_key::TransferKeySubCommand),
|
TransferKey(transfer_key::TransferKeySubCommand),
|
||||||
UserExport(user_export::UserExportSubCommand),
|
UserExport(user_export::UserExportSubCommand),
|
||||||
@ -374,6 +376,7 @@ fn main() -> anyhow::Result<()> {
|
|||||||
x.main(pagerduty_async, top_config).await
|
x.main(pagerduty_async, top_config).await
|
||||||
}
|
}
|
||||||
SubCommand::PopularityContest(x) => x.main().await,
|
SubCommand::PopularityContest(x) => x.main().await,
|
||||||
|
SubCommand::SearchKafka(x) => x.main().await,
|
||||||
SubCommand::Sentryd(x) => {
|
SubCommand::Sentryd(x) => {
|
||||||
if cli_config.sentry_url.is_none() {
|
if cli_config.sentry_url.is_none() {
|
||||||
warn!("sentry_url is not set! Logs will only show in this console");
|
warn!("sentry_url is not set! Logs will only show in this console");
|
||||||
|
Loading…
Reference in New Issue
Block a user