Skip to content
Snippets Groups Projects
Dockerfile 1.1 KiB
Newer Older
  • Learn to ignore specific revisions
  • ARG PHP_VERSION
    
    FROM registry.lakedrops.com/docker/gitlab-drupal-ci:php-${PHP_VERSION}
    
    jurgenhaas's avatar
    jurgenhaas committed
    
    LABEL com.example.vendor="LakeDrops" \
          maintainer="juergen.haas@lakedrops.com" \
    
    jurgenhaas's avatar
    jurgenhaas committed
          description="Drupal development environment from LakeDrops."
    
    ENV LAKEDROPS_DEV_ENV 1
    
    ENV LAKEDROPS_DEV_DC_OPTIONS " "
    
    jurgenhaas's avatar
    jurgenhaas committed
    
    
    ADD config.fish /etc/fish/
    
    ADD configIdea.sh /usr/local/bin/.configIdea
    
    jurgenhaas's avatar
    jurgenhaas committed
    RUN echo "Install dorgflow" && \
        cd /var/opt && \
        git clone https://github.com/joachim-n/dorgflow.git && \
        cd dorgflow && \
        composer install --no-dev && \
    
        ln -s /var/opt/dorgflow/dorgflow /usr/local/bin/dorgflow && \
        \
    
    jurgenhaas's avatar
    jurgenhaas committed
        echo "Install git-flow" && \
        wget --no-check-certificate -q  https://raw.githubusercontent.com/petervanderdoes/gitflow-avh/develop/contrib/gitflow-installer.sh && \
        chmod +x gitflow-installer.sh && \
        ./gitflow-installer.sh install stable && \
        rm gitflow-installer.sh && \
        \
    
        sed -i -e "s/readlink -e/echo/g" /usr/local/bin/git-flow && \
        \
    
        rm -rf /var/cache/* && \
        rm -rf /root/.composer/cache