This is an automated email from the ASF dual-hosted git repository.
kichan pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/trafficserver-ingress-controller.git
The following commit(s) were added to refs/heads/master by this push:
new af7e140 Update Dockerfile (#230)
af7e140 is described below
commit af7e140e88112a9bb07fe15660a331721878192d
Author: Kit Chan <[email protected]>
AuthorDate: Thu May 23 14:35:06 2024 -0700
Update Dockerfile (#230)
---
Dockerfile | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/Dockerfile b/Dockerfile
index 2f6e05f..6d2e066 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -24,12 +24,14 @@ RUN apk add --no-cache --virtual .tools \
RUN apk add --no-cache --virtual .ats-build-deps \
build-base openssl-dev tcl-dev pcre-dev zlib-dev \
linux-headers libunwind-dev \
- brotli-dev jansson-dev luajit-dev readline-dev geoip-dev libxml2-dev
+ brotli-dev jansson-dev readline-dev geoip-dev libxml2-dev
RUN apk add --no-cache --virtual .ats-extra-build-deps --repository
https://dl-cdn.alpinelinux.org/alpine/edge/community hwloc-dev
RUN apk add --no-cache
--repository=https://dl-cdn.alpinelinux.org/alpine/v3.16/main libexecinfo-dev
+RUN apk add --no-cache
--repository=https://dl-cdn.alpinelinux.org/alpine/v3.19/main
luajit-dev=2.1_p20230410-r3
+
RUN addgroup -Sg 1000 ats
RUN adduser -S -D -H -u 1000 -h /tmp -s /sbin/nologin -G ats -g ats ats
@@ -139,7 +141,6 @@ RUN apk add --no-cache -U \
openssl \
brotli \
jansson \
- luajit \
libunwind \
readline \
geoip \
@@ -154,6 +155,8 @@ RUN apk add --no-cache -U --repository
https://dl-cdn.alpinelinux.org/alpine/edg
RUN apk add --no-cache
--repository=https://dl-cdn.alpinelinux.org/alpine/v3.16/main libexecinfo
+RUN apk add --no-cache
--repository=https://dl-cdn.alpinelinux.org/alpine/v3.19/main
luajit=2.1_p20230410-r3
+
# symlink for luajit
RUN ln -sf /usr/lib/libluajit-5.1.so.2.1.0 /usr/lib/libluajit-5.1.so