Commit e8cc6dd3 authored by nanamicat's avatar nanamicat

ci

parent 52f5e534
Pipeline #32952 passed with stages
in 25 seconds
FROM rust:alpine as builder
FROM rust:1.84-alpine3.21 as builder
RUN apk add --no-cache musl-dev
WORKDIR /usr/src/app
......@@ -12,7 +12,7 @@ RUN mkdir src && \
COPY src src
RUN cargo build --release
FROM alpine
FROM alpine:3.21
RUN apk --no-cache add libgcc libstdc++ bash iproute2 iptables iptables-legacy ipset netcat-openbsd jq
COPY --from=builder /usr/src/app/target/release/tun1 /usr/local/bin/tun
COPY ./entrypoint.sh /entrypoint.sh
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment