Skip to content

Commit fcd736b

Browse files
committed
Set repository build version (Fixes #496)
1 parent 68f5fed commit fcd736b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/variations/unit/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,9 @@ RUN docker-php-serversideup-dep-install-alpine "${DEPENDENCY_PACKAGES_ALPINE}" &
140140
chown -R www-data:www-data /var/www && \
141141
chmod -R 755 /var/www && \
142142
\
143+
# Set the image version
144+
echo "${REPOSITORY_BUILD_VERSION}" > /etc/serversideup-php-version && \
145+
\
143146
# Make composer cache directory
144147
mkdir -p "${COMPOSER_HOME}" && \
145148
chown -R www-data:www-data "${COMPOSER_HOME}" && \

0 commit comments

Comments
 (0)