Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
shukitchan authored Dec 23, 2024
1 parent 75fe4cc commit 4ea1202
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 4ea1202

Please sign in to comment.