Playing with static still
Some checks failed
Dropshell Test / Build_and_Test (push) Failing after 1m30s
Some checks failed
Dropshell Test / Build_and_Test (push) Failing after 1m30s
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
FROM alpine:latest
|
||||
FROM --platform=$BUILDPLATFORM alpine:latest AS builder
|
||||
|
||||
# Install build dependencies
|
||||
RUN apk add --no-cache \
|
||||
@ -31,4 +31,6 @@ RUN cmake -G Ninja -B build_static -DCMAKE_BUILD_TYPE=Release \
|
||||
|
||||
RUN cmake --build build_static
|
||||
|
||||
# The resulting binary will be in build_static/dropshell
|
||||
# Final stage that only contains the binary
|
||||
FROM scratch AS dropshell
|
||||
COPY --from=builder /build/build_static/dropshell /dropshell
|
Reference in New Issue
Block a user