A compact image which contains Node6,python2,pip,yarn,zip. Useful for use with Bitbucket Pipelines.
2.0K
I'm using Bitbucket Pipelines for building and testing SPA applications made with React.js. There are official docker images by Atlassian, but that aren't suitable for my use-case by some reasons.
There is the official 'node' image but which doesn't contains the pip command and the boto3 module. (I tried to install that on-the fly, by adding few lines to bitbucket-pipelines.yml, but it took very long time than I guessed)
So I created this custom docker image. It's lightweight(48MB compressed), and contains following packages.
I think it's useful as base image of your Bitbucket Pipelines CI.
Example: bitbucket-pipeline.yml
# You can specify a custom docker image from Docker Hub as your build environment.
image: dseg/node6-python2-pip-yarn-alpine
pipelines:
branches:
master:
- step:
script: # Modify the commands below to build your repository.
- yarn install # prepare for build
- yarn run build
- cd dist
- zip -r /tmp/artifact.zip * # Package up the application for deployment
- python deploy-scripts/codedeploy_deploy.py staging # Upload the package to Amazon S3
Content type
Image
Digest
Size
61.8 MB
Last updated
almost 9 years ago
docker pull dseg/node6-python2-pip-yarn-alpine