Skip to content

Commit

Permalink
update fluentci image
Browse files Browse the repository at this point in the history
  • Loading branch information
tsirysndr committed Oct 18, 2023
1 parent b802105 commit 6a199d4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
9 changes: 6 additions & 3 deletions fluentci/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
11 changes: 8 additions & 3 deletions fluentci/generate.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
import { Dockerfile } from "https://deno.land/x/[email protected]/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();

Expand Down

0 comments on commit 6a199d4

Please sign in to comment.