Skip to content

Commit

Permalink
Patched packages, removed unused packages from php-cli image
Browse files Browse the repository at this point in the history
  • Loading branch information
nicksantamaria committed Nov 20, 2024
1 parent f403923 commit 8430339
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
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

0 comments on commit 8430339

Please sign in to comment.