Skip to content

Commit b63317e

Browse files
committed
Update mbedtls from 3.5.0 to 3.6.1
Signed-off-by: DL6ER <[email protected]>
1 parent 3467417 commit b63317e

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/ftl-build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ jobs:
9898
push: ${{ github.event_name != 'workflow_dispatch' }}
9999
target: builder
100100
labels: ${{ steps.meta.outputs.labels }}
101+
build-args: |
102+
CONTAINER=alpine:${{ ( github.event_name == 'scheduled' || matrix.platform == 'linux/riscv64' ) && 'edge' || 'latest' }}
101103
outputs: |
102104
type=image,name=${{ env.DOCKER_REGISTRY_IMAGE }},push-by-digest=true,name-canonical=true,push=true
103105
type=image,name=${{ env.GITHUB_REGISTRY_IMAGE }},push-by-digest=true,name-canonical=true,push=true

ftl-build/Dockerfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ARG TARGETPLATFORM
55
ARG readlineversion=8.2
66
ARG termcapversion=1.3.1
77
ARG nettleversion=3.9.1
8-
ARG mbedtlsversion=3.5.0
8+
ARG mbedtlsversion=3.6.1
99

1010
RUN apk add --no-cache \
1111
alpine-sdk \
@@ -37,7 +37,9 @@ RUN apk add --no-cache \
3737
pdns-backend-sqlite3 \
3838
pdns-recursor \
3939
pdns-doc \
40-
gdb
40+
gdb \
41+
py3-jinja2 \
42+
py3-jsonschema
4143

4244
ENV STATIC true
4345
ENV TEST true
@@ -70,7 +72,7 @@ RUN curl -sSL https://ftl.pi-hole.net/libraries/nettle-${nettleversion}.tar.gz |
7072
# Build static mbedTLS with pthread support
7173
# Disable AESNI on linux/386 asit would possibly result in an incompatible
7274
# binary in processors lacking the AESNI and SSE2 instruction sets
73-
RUN curl -sSL https://ftl.pi-hole.net/libraries/mbedtls-${mbedtlsversion}.tar.gz | tar -xz \
75+
RUN curl -sSL https://ftl.pi-hole.net/libraries/mbedtls-${mbedtlsversion}.tar.bz2 | tar -xj \
7476
&& cd mbedtls-${mbedtlsversion} \
7577
&& sed -i '/#define MBEDTLS_THREADING_C/s*^//**g' include/mbedtls/mbedtls_config.h \
7678
&& sed -i '/#define MBEDTLS_THREADING_PTHREAD/s*^//**g' include/mbedtls/mbedtls_config.h \

0 commit comments

Comments
 (0)