Skip to content

Commit 2955418

Browse files
author
rok
committed
Updating to php 7.3
1 parent 4fa13ee commit 2955418

File tree

3 files changed

+7
-13
lines changed

3 files changed

+7
-13
lines changed

Dockerfile

+5-12
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,17 @@
1-
FROM php:7.2-alpine
1+
FROM php:7.3-alpine
22

33
LABEL maintainer="ipunkt Business Solutions <[email protected]>" \
4-
version.image="v3.0" \
4+
version.image="v4.0" \
55
version.php=$PHP_VERSION \
66
description="A supervisor configured to run with laravel artisan queue:work or artisan horizon command"
77

8-
ENV PYTHON_VERSION=2.7.13-r1
9-
ENV PY_PIP_VERSION=9.0.1-r1
10-
ENV SUPERVISOR_VERSION=3.3.3
11-
128
ENV QUEUE_CONNECTION=redis
139
ENV QUEUE_NAME=default
1410
ENV LARAVEL_HORIZON=false
1511

16-
# Install pdo if you want to use database queue
17-
RUN docker-php-ext-install pdo pdo_mysql pcntl posix
18-
19-
# Install supervisor
20-
RUN apk update && apk add -u python=$PYTHON_VERSION py-pip=$PY_PIP_VERSION
21-
RUN pip install supervisor==$SUPERVISOR_VERSION
12+
# Install pdo if you want to use database queue and install supervisor
13+
RUN docker-php-ext-install pdo pdo_mysql pcntl posix \
14+
&& apk add --update supervisor && rm -rf /tmp/* /var/cache/apk/*
2215

2316
# Define working directory
2417
WORKDIR /etc/supervisor/conf.d

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2017 ipunkt Business Solutions OHG
3+
Copyright (c) 2019 ipunkt Business Solutions OHG
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,4 @@ If you want to use [Laravel Horizon](https://laravel.com/docs/5.5/horizon) then
1818
| 7.0 | ipunktbs/laravel-queue-worker:php7.0-v1.0 |
1919
| 7.1 | ipunktbs/laravel-queue-worker:php7.1-v2.0 |
2020
| 7.2 | ipunktbs/laravel-queue-worker:php7.2-v3.0 |
21+
| 7.3 | ipunktbs/laravel-queue-worker:php7.3-v4.0 |

0 commit comments

Comments
 (0)