diff options
| author | mo khan <mo@mokhan.ca> | 2025-07-03 17:09:49 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-07-03 17:09:49 -0600 |
| commit | 0f82c2d1bfcdb490805475d4e02f161b5c550b3a (patch) | |
| tree | 57c354353d1fbba069ed5cab94896431d6abb2fa | |
| parent | 0a81a89b717dc6d65436b491cbc6c8e9308df2c3 (diff) | |
chore: replace forego with minit
| -rw-r--r-- | Dockerfile | 8 | ||||
| -rw-r--r-- | Makefile | 6 |
2 files changed, 7 insertions, 7 deletions
@@ -11,8 +11,8 @@ RUN strip /app/target/x86_64-unknown-linux-musl/release/authzd FROM envoyproxy/envoy:v1.34-latest AS envoy-binary # Build stage for Procfile supervisor -FROM golang:1.23-alpine AS forego-builder -RUN go install github.com/ddollar/forego@latest +FROM golang:1.24-alpine AS minit-builder +RUN go install github.com/xlgmokha/minit@latest # Final stage FROM gcr.io/distroless/base-debian12:nonroot @@ -23,5 +23,5 @@ COPY --from=authzd-builder /app/etc/authzd /etc/authzd COPY --from=authzd-builder /app/etc/envoy /etc/envoy COPY --from=authzd-builder /app/target/x86_64-unknown-linux-musl/release/authzd /bin/authzd COPY --from=envoy-binary /usr/local/bin/envoy /bin/envoy -COPY --from=forego-builder /go/bin/forego /bin/forego -ENTRYPOINT ["/bin/forego", "start"] +COPY --from=minit-builder /go/bin/minit /bin/minit +ENTRYPOINT ["/bin/minit"] @@ -7,8 +7,8 @@ IMAGE_TAG := $(PROJECT_NAME):$(GIT_BRANCH) setup: mise install - mise exec go -- go install github.com/ddollar/forego@latest - mise exec rustup -- rustup component add clippy rustfmt + mise exec go -- go install github.com/xlgmokha/minit@latest + mise exec rust -- rustup component add clippy rustfmt # Cargo targets build: @@ -22,7 +22,7 @@ test: run: build @cp target/debug/authzd bin/authzd - @forego start -f Procfile + @minit clean: @cargo clean |
