Skip to content

Commit

Permalink
feat: add swoole 5.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
storyn26383 committed Oct 24, 2023
1 parent 0ffadfe commit 6f2ab36
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apply-template.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ dockerfiles_path=dockerfiles
versions="
[email protected]
[email protected]
[email protected]
[email protected]
"

for version in ${versions}; do
Expand Down
10 changes: 10 additions & 0 deletions dockerfiles/5.1.0/php8.1/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM phpswoole/swoole:5.1.0-php8.1

RUN apt-get update && \
apt-get install -y ca-certificates curl gnupg && \
mkdir -p /etc/apt/keyrings && \
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && \
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list && \
apt-get update && \
apt-get install nodejs -y && \
rm -rf /var/lib/apt/lists/*
10 changes: 10 additions & 0 deletions dockerfiles/5.1.0/php8.2/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM phpswoole/swoole:5.1.0-php8.2

RUN apt-get update && \
apt-get install -y ca-certificates curl gnupg && \
mkdir -p /etc/apt/keyrings && \
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && \
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list && \
apt-get update && \
apt-get install nodejs -y && \
rm -rf /var/lib/apt/lists/*

0 comments on commit 6f2ab36

Please sign in to comment.