From fcd736bbbeb8d641f5cb38bd2a0c33c174ba9af9 Mon Sep 17 00:00:00 2001 From: Jay Rogers Date: Tue, 19 Nov 2024 08:43:45 -0600 Subject: [PATCH] Set repository build version (Fixes #496) --- src/variations/unit/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/variations/unit/Dockerfile b/src/variations/unit/Dockerfile index 1a1f4128..6201bb70 100644 --- a/src/variations/unit/Dockerfile +++ b/src/variations/unit/Dockerfile @@ -140,6 +140,9 @@ RUN docker-php-serversideup-dep-install-alpine "${DEPENDENCY_PACKAGES_ALPINE}" & chown -R www-data:www-data /var/www && \ chmod -R 755 /var/www && \ \ + # Set the image version + echo "${REPOSITORY_BUILD_VERSION}" > /etc/serversideup-php-version && \ + \ # Make composer cache directory mkdir -p "${COMPOSER_HOME}" && \ chown -R www-data:www-data "${COMPOSER_HOME}" && \