mirror of
https://github.com/shlinkio/shlink.git
synced 2025-02-16 15:29:54 +03:00
Updated official docker image to PHP 8
This commit is contained in:
parent
4c008f1672
commit
755a52b78e
2 changed files with 6 additions and 5 deletions
|
@ -10,6 +10,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com), and this
|
|||
|
||||
### Changed
|
||||
* [#977](https://github.com/shlinkio/shlink/issues/977) Migrated from `laminas/laminas-paginator` to `pagerfanta/core` to handle pagination.
|
||||
* [#986](https://github.com/shlinkio/shlink/issues/986) Updated official docker image to use PHP 8.
|
||||
|
||||
### Deprecated
|
||||
* *Nothing*
|
||||
|
|
10
Dockerfile
10
Dockerfile
|
@ -1,8 +1,8 @@
|
|||
FROM php:7.4.11-alpine3.12 as base
|
||||
FROM php:8.0.1-alpine3.13 as base
|
||||
|
||||
ARG SHLINK_VERSION=2.4.0
|
||||
ENV SHLINK_VERSION ${SHLINK_VERSION}
|
||||
ENV SWOOLE_VERSION 4.5.9
|
||||
ARG SHLINK_VERSION=2.5.2
|
||||
ENV SWOOLE_VERSION 4.6.2
|
||||
ENV PDO_SQLSRV_VERSION 5.9.0
|
||||
ENV LC_ALL "C"
|
||||
|
||||
WORKDIR /etc/shlink
|
||||
|
@ -32,7 +32,7 @@ RUN if [ $(uname -m) == "x86_64" ]; then \
|
|||
wget https://download.microsoft.com/download/e/4/e/e4e67866-dffd-428c-aac7-8d28ddafb39b/msodbcsql17_17.5.1.1-1_amd64.apk && \
|
||||
apk add --allow-untrusted msodbcsql17_17.5.1.1-1_amd64.apk && \
|
||||
apk add --no-cache --virtual .phpize-deps ${PHPIZE_DEPS} unixodbc-dev && \
|
||||
pecl install pdo_sqlsrv && \
|
||||
pecl install pdo_sqlsrv-${PDO_SQLSRV_VERSION} && \
|
||||
docker-php-ext-enable pdo_sqlsrv && \
|
||||
apk del .phpize-deps && \
|
||||
rm msodbcsql17_17.5.1.1-1_amd64.apk ; \
|
||||
|
|
Loading…
Add table
Reference in a new issue