Skip to content

Commit 2416fc5

Browse files
committed
[5.0.x] - refactor: build docker images on release. Simplify dev images
1 parent 85ae369 commit 2416fc5

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

docker/Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ RUN set -eux \
3838
pdo_pgsql \
3939
pgsql \
4040
redis \
41-
shmop \
4241
xsl \
4342
yaml \
4443
zip \
@@ -120,14 +119,14 @@ ENV PATH=/app/bin:/app:${PATH} \
120119
PHP_VERSION=${PHP_VERSION} \
121120
PHALCON_VERSION=${PHALCON_VERSION}
122121

123-
LABEL org.opencontainer.image.title="Phalcon v${PHALCON_VERSION} with php ${PHP_VERSION}" \
122+
LABEL org.opencontainer.image.title="Phalcon ${PHALCON_VERSION} with php ${PHP_VERSION}" \
124123
org.opencontainer.image.description="Docker image including Phalcon and PHP on Debian Bookworm" \
125124
org.opencontainer.image.authors="Phalcon Team <team@phalconphp.com>" \
126125
org.opencontainer.image.vendor="Phalcon PHP Framework" \
127126
org.opencontainer.image.licenses="BSD-3-Clause" \
128-
org.opencontainer.image.version="v${PHALCON_VERSION}-php${PHP_VERSION}" \
127+
org.opencontainer.image.version="${PHALCON_VERSION}-php${PHP_VERSION}" \
129128
org.opencontainer.image.url="https://github.com/phalcon/cphalcon/" \
130-
org.opencontainer.image.source="https://github.com/phalcon/cphalcon/tree/v${PHALCON_VERSION}/docker/Dockerfile"
129+
org.opencontainer.image.source="https://github.com/phalcon/cphalcon/tree/${PHALCON_VERSION}/docker/Dockerfile"
131130

132131
COPY --from=phalcon /srv/ext/modules/phalcon.so /tmp/phalcon.so
133132

0 commit comments

Comments
 (0)