Sign inSign up

gerardojunior/clojure

By gerardojunior

•Updated over 7 years ago

Image
0

417

gerardojunior/clojure repository overview

⁠Environment of clojure project

    [+] AUTOR:        Gerardo Junior
    [+] SITE:         https://gerardo-junior.com
    [+] EMAIL:        [email protected]
    [+] GITHUB:       https://github.com/gerardo-junior/clojure-docker.git
    [+] TELEGRAM:     @MrGerardoJunior

Docker Automated build

Docker image to run clojure⁠ projects

The project must be in the /src container folder

⁠Tags available

⁠Come on, do your tests

docker pull gerardojunior/clojure:stable

⁠How to build

to build the image you need install the docker engine⁠ only

You can try building with different versions of software with docker args, for example: LEIN_VERSION=2.8.3

docker build https://github.com/gerardo-junior/clojure-docker.git --tag gerardojunior/clojure

⁠How to use

⁠Only with docker command:
# in your project folder
docker run -it --rm -v $(pwd):/src gerardojunior/clojure:stable [command]

# or docker-compose
docker-compose run clojure [command]
⁠With docker-compose⁠

Create the docker-compose.yml file in your project folder with:

# (...)

  clojure:
    image: gerardojunior/clojure:stable
    restart: on-failure
    volumes:
      - type: bind
        source: ./
        target: /src

# (...)

⁠How to enter image shell

docker run -it --rm gerardojunior/clojure sh
# or with docker-compose
docker-compose run clojure sh
⁠License

This project is licensed under the MIT License - see the LICENSE⁠ file for details

Tag summary

Content type

Image

Digest

Size

95 MB

Last updated

over 7 years ago

docker pull gerardojunior/clojure