Sign inSign up

panenka76/cljs-lambda-build

By panenka76

•Updated over 9 years ago

This is a docker image for building a ClojureScript project that installs AWS Lambda functions.

Image
0

442

panenka76/cljs-lambda-build repository overview

⁠cljs-lambda docker image

This is a docker image for building a ClojureScript project that installs AWS Lambda functions through the cljs-lambda⁠ plugin for the Serverless Framework⁠. Its main function is to be used on CircleCI 2.0 as a build container.

⁠What's in it?

  1. This image is based upon the official Clojure⁠ image version lein-2.7.1⁠
  2. Node.js⁠ version 7.8.0
  3. Serverless⁠ version 1.10.1

⁠Usage

You can use any of the build tools provided by the projects in the list above, but probably you'd like to use a circle.yml file that looks something like this

version: 2
jobs:
  build:
    docker:
      - image: panenka76/cljs-lambda-build
    working_directory: ~/tmp
    steps:
      - checkout
      - run:
          name: Install CLJS Lambda plugin
          command: npm install --save serverless-cljs-plugin
      - deploy:
          command: |
            if [ "${CIRCLE_BRANCH}" == "develop" ]; then
              serverless deploy --stage dev
            fi

Tag summary

Content type

Image

Digest

Size

270.6 MB

Last updated

over 9 years ago

docker pull panenka76/cljs-lambda-build