Skip to content

Commit

Permalink
Include llvmtargetarch in final output
Browse files Browse the repository at this point in the history
  • Loading branch information
randomairborne committed Jun 22, 2024
1 parent c486c4b commit cbac71a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
ARG LLVMTARGETARCH
FROM --platform=${BUILDPLATFORM} ghcr.io/randomairborne/cross-cargo-${LLVMTARGETARCH}:latest AS builder

ARG LLVMTARGETARCH

WORKDIR /build
Expand All @@ -10,6 +9,7 @@ COPY . .
RUN cargo build --release --target ${LLVMTARGETARCH}-unknown-linux-musl

FROM scratch
ARG LLVMTARGETARCH

COPY --from=builder /build/target/${LLVMTARGETARCH}-unknown-linux-musl/release/giveip /usr/bin/giveip
EXPOSE 8080
Expand Down

0 comments on commit cbac71a

Please sign in to comment.