Skip to content

Commit

Permalink
revert dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
noisyscanner committed Nov 2, 2024
1 parent 34aaac1 commit 75722fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1

FROM --platform=$BUILDPLATFORM rust:1.75 AS build
FROM --platform=$BUILDPLATFORM rust:1.70 AS build
ARG TARGETARCH

RUN echo "export PATH=/usr/local/cargo/bin:$PATH" >> /etc/profile
Expand All @@ -23,7 +23,7 @@ RUN touch src/main.rs && cargo build --release --target=$(cat /.platform)
RUN mkdir -p /release/$TARGETARCH
RUN cp ./target/$(cat /.platform)/release/metrics /release/$TARGETARCH/metrics

FROM gcr.io/distroless/cc-debian12
FROM gcr.io/distroless/cc-debian11
ARG TARGETARCH
COPY --from=build /release/$TARGETARCH/metrics /

Expand Down

0 comments on commit 75722fc

Please sign in to comment.