This commit is contained in:
parent
a96c557b45
commit
5526084882
@ -10,11 +10,11 @@ RUN mkdir -p src && echo "fn main() {}" > src/main.rs && cargo build --release -
|
||||
|
||||
COPY wg-event-gen/ /build
|
||||
|
||||
RUN cargo build --release --target x86_64-unknown-linux-musl
|
||||
RUN cargo build --target x86_64-unknown-linux-musl
|
||||
|
||||
FROM frolvlad/alpine-glibc AS test
|
||||
|
||||
COPY --from=eventbuild /build/target/x86_64-unknown-linux-musl/release/wg-event-gen /usr/bin/
|
||||
COPY --from=eventbuild /build/target/x86_64-unknown-linux-musl/debug/wg-event-gen /usr/bin/
|
||||
|
||||
RUN echo "2df798799c5049324174c4df0189695d -" > test.md5 && wg-event-gen | md5sum -c test.md5
|
||||
|
||||
@ -36,7 +36,7 @@ ENV WG_I_PREFER_BUGGY_USERSPACE_TO_POLISHED_KMOD=1
|
||||
|
||||
COPY --from=build /go/bin/wireguard /usr/bin/wireguard-go
|
||||
|
||||
COPY --from=eventbuild /build/target/x86_64-unknown-linux-musl/release/wg-event-gen /usr/bin/
|
||||
COPY --from=eventbuild /build/target/x86_64-unknown-linux-musl/debug/wg-event-gen /usr/bin/
|
||||
|
||||
COPY init.sh /init.sh
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user