🔧 Push release version to Docker image
Signed-off-by: Luke Tainton <luke@tainton.uk>
This commit is contained in:
@@ -4,6 +4,8 @@ RUN composer --working-dir=/srv install
|
||||
|
||||
FROM php:apache
|
||||
LABEL maintainer="Luke Tainton <luke@tainton.uk>"
|
||||
ARG VERSION
|
||||
RUN docker-php-ext-install pdo_mysql && a2enmod rewrite remoteip
|
||||
COPY vhost.conf /etc/apache2/sites-enabled/000-default.conf
|
||||
COPY --from=build /srv /srv
|
||||
RUN echo $VERSION > /srv/includes/VERSION
|
||||
Reference in New Issue
Block a user