GithubHelp home page GithubHelp logo

tobytripp / clj-builder Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 41 KB

Docker container for building and deploying clojure applications

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

License: Apache License 2.0

Makefile 4.26% Shell 23.78% Clojure 22.79% Dockerfile 49.17%

clj-builder's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.