Added required dependencies for alpine
This commit is contained in:
parent
069c5fd258
commit
a30156fa00
|
@ -13,6 +13,14 @@ USER root
|
||||||
# ADD apk repository
|
# ADD apk repository
|
||||||
RUN printf "@testing https://dl-cdn.alpinelinux.org/alpine/edge/testing\n" >> /etc/apk/repositories
|
RUN printf "@testing https://dl-cdn.alpinelinux.org/alpine/edge/testing\n" >> /etc/apk/repositories
|
||||||
|
|
||||||
|
# INSTALL PHP OpenSSL
|
||||||
|
RUN --mount=type=cache,target=/var/cache/apk \
|
||||||
|
apk add --update php${PHP_VERSION}-openssl; exit 0
|
||||||
|
|
||||||
|
# Install php83-openssl from testing if main or community doesn't exists
|
||||||
|
RUN --mount=type=cache,target=/var/cache/apk \
|
||||||
|
apk add --update php${PHP_VERSION}-openssl@testing; exit 0
|
||||||
|
|
||||||
# INSTALL PHP PHAR
|
# INSTALL PHP PHAR
|
||||||
RUN --mount=type=cache,target=/var/cache/apk \
|
RUN --mount=type=cache,target=/var/cache/apk \
|
||||||
apk add --update php${PHP_VERSION}-phar; exit 0
|
apk add --update php${PHP_VERSION}-phar; exit 0
|
||||||
|
|
Reference in New Issue