Public | Automated Build

Last pushed: 5 months ago
Short Description
This is a docker image for building a ClojureScript project that installs AWS Lambda functions.
Full Description

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
Docker Pull Command
Owner
panenka76

Comments (0)