Skip to content

Commit acb5489

Browse files
committed
Drop varnish 4, update alpine to 3.18, replace libexecinfo with libunwind
1 parent 2c59581 commit acb5489

9 files changed

+5
-97
lines changed

.alpine

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.16#2023-09-29T02:08:44.358104Z
1+
3.18#2023-09-29T02:08:44.358104Z

.github/workflows/workflow.yml

-13
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,3 @@ jobs:
2828
version: '6.0.11'
2929
tags: 6.0,6,latest
3030
platform: linux/amd64,linux/arm64
31-
varnish-4:
32-
runs-on: ubuntu-latest
33-
steps:
34-
- uses: actions/checkout@v2
35-
- uses: docker/setup-qemu-action@v1
36-
with:
37-
platforms: amd64,arm64
38-
- uses: docker/setup-buildx-action@v1
39-
- uses: ./.github/actions
40-
with:
41-
version: '4.1.11'
42-
tags: 4.1,4
43-
platform: linux/amd64,linux/arm64

Dockerfile

+3-4
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ RUN set -ex; \
2121
gcc \
2222
libc-dev \
2323
libedit \
24-
libexecinfo \
2524
libmhash --repository=https://dl-cdn.alpinelinux.org/alpine/edge/testing/ \
25+
libunwind \
2626
geoip \
2727
libgcc \
2828
make \
@@ -39,8 +39,8 @@ RUN set -ex; \
3939
git \
4040
geoip-dev \
4141
libedit-dev \
42-
libexecinfo-dev \
4342
libmhash-dev --repository=https://dl-cdn.alpinelinux.org/alpine/edge/testing/ \
43+
libunwind-dev \
4444
libtool \
4545
linux-headers \
4646
ncurses-dev \
@@ -51,7 +51,6 @@ RUN set -ex; \
5151
python3 \
5252
rsync; \
5353
\
54-
ln -s /usr/bin/python3 /usr/bin/python; \
5554
varnish_url="http://varnish-cache.org/_downloads/varnish-${VARNISH_VER}.tgz"; \
5655
wget -qO- "${varnish_url}" | tar xz -C /tmp/; \
5756
cd /tmp/varnish-*; \
@@ -65,6 +64,7 @@ RUN set -ex; \
6564
--mandir=/usr/share/man \
6665
--infodir=/usr/share/info \
6766
--localstatedir=/var/lib \
67+
--with-unwind \
6868
--without-jemalloc; \
6969
\
7070
make -j "$(nproc)"; \
@@ -174,7 +174,6 @@ RUN set -ex; \
174174
\
175175
while IFS= read -r file ; do rm -rf -- "${file}" ; done < /tmp/varnish-dev-files; \
176176
apk del --purge .varnish-build-deps; \
177-
rm /usr/bin/python; \
178177
rm -rf /tmp/*; \
179178
rm -rf /var/cache/apk/*
180179

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
VARNISH_VER ?= 6.0.11
44
VARNISH_VER_MINOR = $(shell v='$(VARNISH_VER)'; echo "$${v%.*}")
55

6-
ALPINE_VER ?= 3.16
6+
ALPINE_VER ?= 3.18
77

88
PLATFORM ?= linux/amd64
99

README.md

-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ All images built for `linux/amd64` and `linux/arm64`
3737
Supported tags and respective `Dockerfile` links:
3838

3939
- `6.0`, `6`, `latest` [_(Dockerfile)_](https://github.com/wodby/varnish/tree/master/Dockerfile)
40-
- `4.1`, `4` [_(Dockerfile)_](https://github.com/wodby/varnish/tree/master/Dockerfile)
4140

4241
## Environment Variables
4342

patches/4/fix-compat-execinfo.patch

-11
This file was deleted.

patches/4/fix-stack-overflow.patch

-44
This file was deleted.

patches/4/musl-mode_t.patch

-11
This file was deleted.

patches/4/varnish-4.1.3_fix_Werror_el6.patch

-11
This file was deleted.

0 commit comments

Comments
 (0)