Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patched packages, removed unused packages from php-cli image #337

Merged
merged 1 commit into from
Nov 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion images/node/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM uselagoon/node-20:latest
ARG BAY_CLI_VERSION=v1.1.3
ARG BAY_CLI_VERSION=v1.1.5


RUN apk --update add curl git findutils openssh-client && \
Expand Down
5 changes: 4 additions & 1 deletion images/php/Dockerfile.cli
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@ FROM php:${PHP_VERSION}-cli-alpine AS php-cli
FROM ghcr.io/skpr/mtk:v2.1.0 AS mtk
FROM uselagoon/php-${PHP_VERSION}-cli-drupal:latest

# Remove unnecessary packages that increase our attack surface area.
RUN apk del postgresql-client

ARG GOJQ_VERSION=0.12.16
ARG DOCKERIZE_VERSION=v0.8.0
ARG BAY_CLI_VERSION=v1.1.3
ARG BAY_CLI_VERSION=v1.1.5

COPY --from=php-cli /usr/local/bin/phpdbg /usr/local/bin/
ENV WEBROOT=docroot
Expand Down
2 changes: 1 addition & 1 deletion images/php/Dockerfile.fpm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ ARG PHP_VERSION=8.3
FROM ghcr.io/dpc-sdp/bay/php-fpm-exporter:6.x AS php-fpm-exporter
FROM uselagoon/php-${PHP_VERSION}-fpm:latest

ARG BAY_CLI_VERSION=v1.1.3
ARG BAY_CLI_VERSION=v1.1.5

RUN mkdir /bay
COPY 01-bay.ini /usr/local/etc/php/conf.d/
Expand Down