Skip to content

Commit

Permalink
Build SIMPLETEST_DB_URL into container, drupal-repository updates
Browse files Browse the repository at this point in the history
  • Loading branch information
tuutti committed Mar 20, 2024
1 parent 4ebd30d commit 0c3fdd4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions local/drupal/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ RUN grep -qxF 'xdebug.log' /etc/php${PHP_SHORT_VERSION}/conf.d/xdebug.ini || ech
# files.
RUN sudo addgroup druid nginx

ENV SIMPLETEST_DB="mysql://${DRUPAL_DB_USER}:${DRUPAL_DB_PASS}@${DRUPAL_DB_HOST}:${DRUPAL_DB_PORT}/${DRUPAL_DB_NAME}"

FROM base as php81
RUN sudo apk --no-cache --repository=https://dl-cdn.alpinelinux.org/alpine/edge/testing \
--repository=https://dl-cdn.alpinelinux.org/alpine/edge/main \
Expand Down
4 changes: 2 additions & 2 deletions openshift/drupal-repository/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM alpine:3.17
FROM alpine:3.19
COPY --from=almir/webhook /usr/local/bin/webhook /usr/local/bin/webhook

# We need php and git to build satis.
RUN apk add --no-cache git php81 php81-openssl php81-common php81-json php81-phar php81-mbstring php81-pecl-apcu make
RUN apk add --no-cache git php82 php82-openssl php82-common php82-json php82-phar php82-mbstring php82-pecl-apcu php82-zip php82-simplexml make

ENV COMPOSER_HOME=/.composer
ENV PROJECT_DIR=/var/www/html
Expand Down

0 comments on commit 0c3fdd4

Please sign in to comment.