Skip to content

Commit

Permalink
Upgrade Alpine to 3.18
Browse files Browse the repository at this point in the history
  • Loading branch information
williamdes committed Sep 24, 2023
1 parent 1ff13e8 commit 414191b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions alpine/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Rust version in sync with (https://github.com/bluejekyll/trust-dns/pull/1771)
FROM rust:1.64-alpine3.15 as build-env
FROM rust:1.64-alpine3.18 as build-env

ARG VERSION="0.23.0"
ARG SOURCE_FILE="https://github.com/bluejekyll/trust-dns/archive/refs/tags/v${VERSION}.tar.gz"
Expand All @@ -20,7 +20,7 @@ RUN apk add --no-cache --update musl-dev openssl-dev pkgconfig
# https://users.rust-lang.org/t/sigsegv-with-program-linked-against-openssl-in-an-alpine-container/52172
RUN RUSTFLAGS="-C target-feature=-crt-static" cargo build --release --no-default-features --features $FEATURES

FROM alpine:3.15 as runtime
FROM alpine:3.18 as runtime

ARG VERSION="0.23.0"
ARG SOURCE_FILE="https://github.com/bluejekyll/trust-dns/archive/refs/tags/v${VERSION}.tar.gz"
Expand Down

0 comments on commit 414191b

Please sign in to comment.