Skip to content

Commit

Permalink
- [build](Makefile) Now use alpine:3.20 (asterisk:20.8.1).
Browse files Browse the repository at this point in the history
- [build](Dockerfile) Switch to php83.
- [demo](demo) Fixed target 'apk_list'.
  • Loading branch information
mlan committed Jun 4, 2024
1 parent db29412 commit 1229954
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# 1.1.9

- [build](Makefile) Now use alpine:3.20 (asterisk:20.8.1).
- [build](Dockerfile) Switch to php83.
- [demo](demo) Fixed target 'apk_list'.

# 1.1.8

- [build](Makefile) Due to changed behavior with docker 26, files are now copied on the host instead of being hard-linked.
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

-include *.mk

BLD_ARG ?= --build-arg DIST=alpine --build-arg REL=3.19 --build-arg PHP_VER=php82
BLD_ARG ?= --build-arg DIST=alpine --build-arg REL=3.20 --build-arg PHP_VER=php83
BLD_REPO ?= mlan/asterisk
BLD_VER ?= latest
BLD_TGT ?= full
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ git clone https://github.com/mlan/docker-asterisk.git
An example of how to configure an VoIP SIP server using docker compose is given below.

```yaml
version: '3'
name: demo

services:
tele:
Expand Down
2 changes: 1 addition & 1 deletion demo/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ restart_%:
docker compose exec $(SRV_NAME) sv restart $*

apk_list:
docker compose exec $(SRV_NAME) /bin/sh -c 'for pkg in $$(apk info 2>/dev/null); do printf "%9s %s\n" $$(apk info -s $$pkg 2>/dev/null | sed -n "2{p;q}") $$pkg; done | sort'
docker compose exec $(SRV_NAME) /bin/sh -c 'apk info -sq $$(apk info -q) | sed -r "N;N;s/([^ ]+) installed size:\n([^ ]+) (.).*/\2\3\t\1/" | sort -h'

apk_add_%:
docker compose exec $(SRV_NAME) apk -q --no-cache --update add $*
Expand Down

0 comments on commit 1229954

Please sign in to comment.