Sign inSign up

digitalmobil/wp-build-tools

By digitalmobil

Updated over 8 years ago

A docker image that contains all build tools required for building dm-wordpress images.

Image
0

10K+

digitalmobil/wp-build-tools repository overview

Wordpress Build Tools

build status license

What is this?

A docker image that contains all build tools required for building dm-wordpress images.

Features:

How to use this image

Installation

docker pull digitalmobil/wp-build-tools

Usage

  1. Run Composer

    Simple composer call in the current directory:

    docker run --rm -v $(pwd):/data digitalmobil/wp-build-tools composer --help
    

    If working with packages installed via git ssh the local .ssh directory shall be mapped into the container:

    docker run --rm -v $(pwd):/data               \
                    -v ~/.ssh:/home/wp-build/.ssh \
                    digitalmobil/wp-build-tools composer install
    

    To speed up things the local cache can be utilized as well:

    docker run --rm -v $(pwd):/data                         \
                    -v ~/.ssh:/home/wp-build/.ssh           \
                    -v ~/.composer:/home/wp-build/.composer \
                    digitalmobil/wp-build-tools composer install
    
  2. Run npm

    docker run --rm -v $(pwd):/data digitalmobil/wp-build-tools npm install
    
  3. Run yarn

    docker run --rm -v $(pwd):/data digitalmobil/wp-build-tools yarn install
    
  4. Run grunt

    docker run --rm -v $(pwd):/data digitalmobil/wp-build-tools grunt prod
    

Tag summary

Content type

Image

Digest

Size

198 MB

Last updated

over 8 years ago

docker pull digitalmobil/wp-build-tools