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 9acb74e Upgrades to alpine linux 3.19.1 (#221)
9acb74e is described below
commit 9acb74ebcb509fe39ccaa79aefcff1fa1a931cd6
Author: Kit Chan <[email protected]>
AuthorDate: Sun May 12 11:40:13 2024 -0700
Upgrades to alpine linux 3.19.1 (#221)
* Update Dockerfile
* Update README.md
---
Dockerfile | 19 +++++++++++--------
README.md | 2 +-
2 files changed, 12 insertions(+), 9 deletions(-)
diff --git a/Dockerfile b/Dockerfile
index ff14a58..4d61768 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -15,19 +15,21 @@
# limitations under the License.
#
-FROM alpine:3.16.9 as builder
+FROM alpine:3.19.1 as builder
RUN apk add --no-cache --virtual .tools \
- bzip2 curl nghttp2-libs=1.47.0-r2 git automake libtool autoconf make sed
file perl openrc openssl=1.1.1w-r1
+ bzip2 curl nghttp2-libs git automake libtool autoconf make sed file perl
openrc openssl
# ATS dependencies
RUN apk add --no-cache --virtual .ats-build-deps \
- build-base openssl-dev=1.1.1w-r1 tcl-dev pcre-dev zlib-dev \
- libexecinfo-dev linux-headers libunwind-dev \
+ 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
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 addgroup -Sg 1000 ats
RUN adduser -S -D -H -u 1000 -h /tmp -s /sbin/nologin -G ats -g ats ats
@@ -123,25 +125,24 @@ RUN mkdir -p /opt/ats/var/run/redis/ \
# set up ingress log location
RUN mkdir -p /opt/ats/var/log/ingress/
-FROM alpine:3.16.9
+FROM alpine:3.19.1
# essential library
RUN apk add --no-cache -U \
bash \
build-base \
curl \
- nghttp2-libs=1.47.0-r2 \
+ nghttp2-libs \
ca-certificates \
pcre \
zlib \
- openssl=1.1.1w-r1 \
+ openssl \
brotli \
jansson \
luajit \
libunwind \
readline \
geoip \
- libexecinfo \
redis=7.0.15-r0 \
tcl \
openrc \
@@ -151,6 +152,8 @@ RUN apk add --no-cache -U \
RUN apk add --no-cache -U --repository
https://dl-cdn.alpinelinux.org/alpine/edge/community hwloc
+RUN apk add --no-cache
--repository=https://dl-cdn.alpinelinux.org/alpine/v3.16/main libexecinfo
+
# symlink for luajit
RUN ln -sf /usr/lib/libluajit-5.1.so.2.1.0 /usr/lib/libluajit-5.1.so
diff --git a/README.md b/README.md
index d053928..0a2d6d6 100644
--- a/README.md
+++ b/README.md
@@ -33,7 +33,7 @@
Card](https://goreportcard.com/badge/github.com/apache/trafficserver-ingress-con
-
[Development](https://github.com/apache/trafficserver-ingress-controller/blob/master/docs/DEVELOPMENT.md)
## Dependencies
-- Alpine Linux 3.16.9
+- Alpine Linux 3.19.1
- Apache Traffic Server 9.2.4
- LuaJIT 2.0.4
- Go (Version can be found in `GO_VERSION` file found at the base of this
repository)