tobytripp / clj-builder

Docker container for building and deploying clojure applications

Home Page:https://hub.docker.com/r/tobytripp/clj-builder/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker Development Container

Why Does This Exist?

  1. A consistent, isolated, build environment is important.
  2. Using this, you can develop in Clojure without the risks of having a JVM/JDK installed on your host system!
  3. The use of alternative JVM hosts is made simpler.
  4. This container initializes and starts a headless REPL for development.
  5. It’s small coming in around 200M or less for my use-cases.

Usage

  1. Install and run Docker
  2. Create a =docker-compose= configuration:
version: "3.5"
services:
  clojure:
    image: tobytripp/clj-builder:latest
    environment:
      APP_HOME: "${PWD}"
    build:
      context: .
      args:
        APP_HOME: "${PWD}"
    volumes:
      - ./src:${PWD}/src
      - ./test:${PWD}/test
      - ./log:${PWD}/log
    command: repl
    ports:
      - "5888:5888"
  1. docker-compose up -d clojure

About

Docker container for building and deploying clojure applications

https://hub.docker.com/r/tobytripp/clj-builder/

License:Apache License 2.0


Languages

Language:Dockerfile 49.2%Language:Shell 23.8%Language:Clojure 22.8%Language:Makefile 4.3%