Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions img/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@ services:
pip:
image: ghcr.io/tyhal/crie-dep-pip
build: pip
# rust tools
rust:
image: ghcr.io/tyhal/crie-dep-rust
build: rust
2 changes: 1 addition & 1 deletion img/go/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RUN go install github.com/mgechev/revive@v1.14.0
FROM go_layer AS protolint_layer
RUN go install github.com/yoheimuta/protolint/cmd/protolint@v0.56.4

FROM go_layer AS run_layer

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dont do dis, need go fmt installed

FROM alpine:3.23.4

RUN adduser -D standards

Expand Down
17 changes: 17 additions & 0 deletions img/rust/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FROM rust:1.95.0-alpine3.23 AS rust_layer
RUN apk --no-cache add llvm21-dev clang21-dev
# clang21-static llvm21-dev

FROM rust_layer AS rubyfmt_layer
ADD https://github.com/fables-tales/rubyfmt.git#v0.13.0 /tmp/rubyfmt
WORKDIR /tmp/rubyfmt
RUN cargo build --release

FROM alpine:3.23.4

RUN adduser -D standards

# [ Golang ]
COPY --from=rubyfmt_layer /tmp/rubyfmt/release/rubyfmt-main /bin/revive

USER standards
Loading