From 4ea120212f682c593b5acf53c92e480efddd4388 Mon Sep 17 00:00:00 2001 From: Kit Chan Date: Sun, 22 Dec 2024 20:49:10 -0800 Subject: [PATCH] Update Dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index af3f815..59056ef 100644 --- a/Dockerfile +++ b/Dockerfile @@ -38,8 +38,8 @@ RUN adduser -S -D -H -u 1000 -h /tmp -s /sbin/nologin -G ats -g ats ats # download and build ATS # patch 2 files due to pthread in musl vs glibc - see https://github.com/apache/trafficserver/pull/7611/files -RUN curl -L https://downloads.apache.org/trafficserver/trafficserver-9.2.6.tar.bz2 | bzip2 -dc | tar xf - \ - && cd trafficserver-9.2.6/ \ +RUN curl -L https://downloads.apache.org/trafficserver/trafficserver-9.2.7.tar.bz2 | bzip2 -dc | tar xf - \ + && cd trafficserver-9.2.7/ \ && sed -i "s/PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP/PTHREAD_RWLOCK_INITIALIZER/" include/tscore/ink_rwlock.h \ && sed -i "s/PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP/PTHREAD_RWLOCK_INITIALIZER/" include/tscpp/util/TsSharedMutex.h \ && autoreconf -if \