Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2528304
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/docker/swoole/Dockerfile b/docker/swoole/Dockerfile
index 30b0aba0..66eef829 100644
--- a/docker/swoole/Dockerfile
+++ b/docker/swoole/Dockerfile
@@ -1,66 +1,66 @@
-FROM fedora:31
+FROM fedora:34
MAINTAINER Jeroen van Meeuwen <vanmeeuwen@apheleia-it.ch>
LABEL io.k8s.description="Platform for serving PHP applications under Swoole" \
- io.k8s.display-name="Swoole 4.4.x" \
+ io.k8s.display-name="Swoole 4.5.x" \
io.openshift.expose-services="8000:http" \
io.openshift.tags="builder,php,swoole"
-ENV SWOOLE_VERSION=4.4.x \
+ENV SWOOLE_VERSION=4.5.x \
HOME=/opt/app-root/src
RUN dnf -y install \
composer \
diffutils \
file \
git \
make \
npm \
openssl-devel \
patch \
php-cli \
php-common \
php-devel \
php-ldap \
php-opcache \
php-pecl-apcu \
php-mysqlnd \
re2c \
wget && \
- git clone -b v4.4.x https://github.com/swoole/swoole-src.git/ /swoole-src.git/ && \
+ git clone -b v${SWOOLE_VERSION} https://github.com/swoole/swoole-src.git/ /swoole-src.git/ && \
cd /swoole-src.git/ && \
git clean -d -f -x && \
phpize --clean && \
phpize && \
./configure \
--enable-sockets \
--disable-mysqlnd \
--enable-http2 \
--enable-openssl && \
make -j4 && \
make install && \
cd / && \
rm -rf /swoole-src.git/ && \
dnf -y remove \
diffutils \
file \
make \
openssl-devel \
php-devel \
re2c && \
dnf clean all && \
echo "extension=swoole.so" >> /etc/php.d/swoole.ini && \
php -m 2>&1 | grep -q swoole
RUN id default || (groupadd -g 1001 default && useradd -d /opt/app-root/ -u 1001 -g 1001 default)
USER 1001
WORKDIR ${HOME}
COPY /rootfs /
EXPOSE 8000
CMD [ "/usr/local/bin/usage" ]
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Sun, Feb 1, 6:45 AM (1 d, 17 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
426612
Default Alt Text
(1 KB)
Attached To
Mode
R2 kolab
Attached
Detach File
Event Timeline
Log In to Comment