[+] AUTOR: Gerardo Junior
[+] SITE: https://gerardo-junior.com
[+] EMAIL: [email protected]
[+] GITHUB: https://github.com/gerardo-junior/clojure-docker.git
[+] TELEGRAM: @MrGerardoJunior
Docker image to run clojure projects
The project must be in the /src container folder
docker pull gerardojunior/clojure:stable
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
# in your project folder
docker run -it --rm -v $(pwd):/src gerardojunior/clojure:stable [command]
# or docker-compose
docker-compose run clojure [command]
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
# (...)
docker run -it --rm gerardojunior/clojure sh
# or with docker-compose
docker-compose run clojure sh
This project is licensed under the MIT License - see the LICENSE file for details
Content type
Image
Digest
Size
95 MB
Last updated
over 7 years ago
docker pull gerardojunior/clojure