Bumps the minor-and-patch group with 2 updates: rust and alpine. Updates `rust` from 1.88-alpine to 1.94-alpine Updates `alpine` from 3.20 to 3.23 --- updated-dependencies: - dependency-name: rust dependency-version: 1.94-alpine dependency-type: direct:production dependency-group: minor-and-patch - dependency-name: alpine dependency-version: '3.23' dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
18 lines
550 B
Docker
18 lines
550 B
Docker
FROM rust:1.94-alpine AS builder
|
|
RUN apk add --no-cache musl-dev cmake make perl
|
|
WORKDIR /app
|
|
COPY Cargo.toml Cargo.lock ./
|
|
RUN mkdir src && echo 'fn main() {}' > src/main.rs && echo '' > src/lib.rs
|
|
RUN cargo build --release 2>/dev/null || true
|
|
RUN rm -rf src
|
|
COPY src/ src/
|
|
COPY site/ site/
|
|
COPY numa.toml com.numa.dns.plist numa.service ./
|
|
RUN touch src/main.rs src/lib.rs
|
|
RUN cargo build --release
|
|
|
|
FROM alpine:3.23
|
|
COPY --from=builder /app/target/release/numa /usr/local/bin/numa
|
|
EXPOSE 53/udp 80/tcp 443/tcp 853/tcp 5380/tcp
|
|
ENTRYPOINT ["numa"]
|