summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-02-26 14:35:49 -0700
committermo khan <mo.khan@gmail.com>2020-02-26 14:35:49 -0700
commitf945654789655429566414c91b4d00dcd658cabc (patch)
tree9efa10bcdb24cd532644a5705d7f9f74aa2d74b0 /Dockerfile
parent2e61e862b24918fb341154a4ad53eb7424d7976d (diff)
Add specs to test each version of gradle
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 223e802..68d45ad 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -23,13 +23,16 @@ RUN add-apt-repository ppa:ondrej/php -y && apt-get update -y && \
echo 'conan' >> $HOME/.default-python-packages && \
echo '\n. $HOME/.asdf/asdf.sh' >> $HOME/.bashrc && \
echo 'legacy_version_file = yes' > $HOME/.asdfrc && \
+ asdf plugin-add gradle && \
asdf plugin-add java && \
asdf plugin-add python && \
+ echo 'gradle system' >> $HOME/.tool-versions && \
echo 'java adopt-openjdk-8u242-b08 adopt-openjdk-11.0.6+10' >> $HOME/.tool-versions && \
echo 'python 3.8.1 3.5.9 2.7.17' >> $HOME/.tool-versions && \
asdf install && \
- asdf global python 3.8.1 && \
+ asdf global gradle system && \
asdf global java adopt-openjdk-8u242-b08 && \
+ asdf global python 3.8.1 && \
asdf reshim && \
bash -lc "gem install --no-document 'bundler:~> 1.7' 'bundler:~> 2.0'" && \
rm -fr /opt/jdk* && \