Public Repository

Last pushed: 9 months ago
Short Description
Docker image that contains the needed packages to build Wordpress Sage Theme and deploy via git-ftp.
Full Description

This docker image host an Ubuntu (trusty-20170214) environment.

This will install node, npm, git, git-ftp, bower & gulp.

The developer can now run these commands on Bitbucket Pipeline via the bitbucket-pipelines.yml file

  • npm install
  • bower install
  • gulp --production
  • git ftp init/push

Sample bitbucket-pipelines.yml file

image: elmercd/sage-ftp

pipelines:
  branches: # Pipeline is triggered when there is a commit on master branch
    master:
      - step:
          script: # Modify the commands below to build your repository.
            - npm install
            - bower install --allow-root
            - gulp --production --allow-root
            - git ftp push --user $FTP_USERNAME --passwd $FTP_PASSWORD $FTP_SITE
            - echo "Build Success!"
  custom: # Pipeline is triggered for custom actions
    test:
      - step:
          script: # Modify the commands below to build your repository.
            - npm install
            - bower install --allow-root
            - gulp --production --allow-root
            - git ftp push --user $FTP_DEV_USERNAME --passwd $FTP_DEV_PASSWORD $FTP_DEV_SITE
            - echo "Test Build Success!"
Docker Pull Command
Owner
elmercd