-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
35 lines (35 loc) · 993 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
---
version: '3'
services:
no-direnv:
build: .
container_name: asdf-kotlin-no-direnv
tty: true
working_dir: /home/build
environment:
USE_DIRENV: 'no'
volumes:
- .:/home/build/src
command:
- |-
git clone https://github.com/asdf-vm/asdf.git ~/.asdf && \
. ~/.asdf/asdf.sh && \
mkdir -p ~/.asdf/plugins/kotlin && \
rsync -a /home/build/src/ ~/.asdf/plugins/kotlin/ && \
bash ~/.asdf/plugins/kotlin/scripts/tests.bash
with-direnv:
build: .
container_name: asdf-kotlin-with-direnv
tty: true
working_dir: /home/build
environment:
USE_DIRENV: 'yes'
volumes:
- .:/home/build/src
command:
- |-
git clone https://github.com/asdf-vm/asdf.git ~/.asdf && \
. ~/.asdf/asdf.sh && \
mkdir -p ~/.asdf/plugins/kotlin && \
rsync -a /home/build/src/ ~/.asdf/plugins/kotlin/ && \
bash -x ~/.asdf/plugins/kotlin/scripts/tests.bash