Rename ARG FARMOS_VERSION to FARMOS_BRANCH in dev image.
This commit is contained in:
parent
3501c4c9df
commit
bf537e6cce
|
@ -1,8 +1,8 @@
|
|||
# Inherit from the farmOS 7.x-1.x image.
|
||||
FROM farmos/farmos:7.x-1.x
|
||||
|
||||
# Set the farmOS version to the development branch.
|
||||
ARG FARMOS_VERSION=7.x-1.x
|
||||
# Set the farmOS branch to git clone.
|
||||
ARG FARMOS_BRANCH=7.x-1.x
|
||||
|
||||
# Install Xdebug.
|
||||
RUN yes | pecl install xdebug \
|
||||
|
@ -24,7 +24,7 @@ RUN curl -fsSL -o /usr/local/bin/drush.phar "https://github.com/drush-ops/drush/
|
|||
RUN apt-get update && apt-get install -y mariadb-client
|
||||
|
||||
# Build the farmOS repository in /tmp/farmOS.
|
||||
RUN git clone --branch ${FARMOS_VERSION} https://git.drupal.org/project/farm.git /tmp/farmOS && \
|
||||
RUN git clone --branch ${FARMOS_BRANCH} https://git.drupal.org/project/farm.git /tmp/farmOS && \
|
||||
drush make --working-copy --no-gitinfofile /tmp/farmOS/build-farm.make /tmp/www && \
|
||||
chown -R www-data:www-data /tmp/www
|
||||
|
||||
|
|
Loading…
Reference in New Issue