From 6a199d474f8a5b6e4d0fbfbdc8e1235005b80a11 Mon Sep 17 00:00:00 2001 From: Tsiry Sandratraina Date: Wed, 18 Oct 2023 17:14:40 +0000 Subject: [PATCH] update fluentci image --- fluentci/Dockerfile | 9 ++++++--- fluentci/generate.ts | 11 ++++++++--- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/fluentci/Dockerfile b/fluentci/Dockerfile index f9645fb..614c00c 100644 --- a/fluentci/Dockerfile +++ b/fluentci/Dockerfile @@ -1,6 +1,9 @@ # Do not edit this file directly. It is generated by FluentDocker. -FROM homebrew/brew:latest -RUN brew install fluentci-io/tap/fluentci +FROM denoland/deno:alpine +RUN curl -L https://dl.dagger.io/dagger/install.sh | DAGGER_VERSION=0.8.8 sh +RUN mv bin/dagger /usr/local/bin +RUN dagger version +RUN deno install -A -r https://cli.fluentci.io -n fluentci RUN fluentci --version -CMD fluentci +ENTRYPOINT fluentci diff --git a/fluentci/generate.ts b/fluentci/generate.ts index dbf9105..0b7b17e 100644 --- a/fluentci/generate.ts +++ b/fluentci/generate.ts @@ -1,10 +1,15 @@ import { Dockerfile } from "https://deno.land/x/fluentdocker@v0.1.1/mod.ts"; const image = new Dockerfile() - .from("homebrew/brew:latest") - .run("brew install fluentci-io/tap/fluentci") + .from("denoland/deno:alpine") + .run( + "curl -L https://dl.dagger.io/dagger/install.sh | DAGGER_VERSION=0.8.8 sh" + ) + .run("mv bin/dagger /usr/local/bin") + .run("dagger version") + .run("deno install -A -r https://cli.fluentci.io -n fluentci") .run("fluentci --version") - .cmd("fluentci"); + .entrypoint("fluentci"); const dockerfile = image.toString();