File tree Expand file tree Collapse file tree 2 files changed +17
-5
lines changed
Expand file tree Collapse file tree 2 files changed +17
-5
lines changed Original file line number Diff line number Diff line change 11FROM openjdk:11-jre-slim
22
3- ENV JAVA_TOOL_OPTIONS="-XX:+UseContainerSupport -XX:MaxRAMPercentage=80" \
4- JMXTRANS_VERSION=1.2.8
3+ ENV JAVA_TOOL_OPTIONS="-XX:+UseContainerSupport -XX:MaxRAMPercentage=80"
54
65LABEL maintainer="upscaler@free-now.com"
76
@@ -46,6 +45,9 @@ RUN cd .. && rm -rf Python-3.9.6*
4645
4746RUN rm -rf /var/lib/apt/lists/*
4847
48+ # Installing Poetry
49+ RUN python -m pip install poetry==1.1.7
50+
4951RUN mkdir /root/.m2
5052
5153VOLUME /root/.m2
Original file line number Diff line number Diff line change @@ -21,6 +21,18 @@ commandTests:
2121 - \nnodejs/.*
2222 - \napt-utils/.*
2323
24+ - name : Checking whether python is installed
25+ command : /usr/bin/which
26+ args : [ "python" ]
27+ expectedOutput :
28+ - /usr/bin/python
29+
30+ - name : Checking whether poetry is installed
31+ command : /usr/bin/python
32+ args : [ "-m", "pip", "list" ]
33+ expectedOutput :
34+ - \npoetry.*
35+
2436fileExistenceTests :
2537 - name : Copies the entrypoint
2638 path : /usr/local/bin/entrypoint
@@ -30,6 +42,4 @@ fileExistenceTests:
3042metadataTest :
3143 env :
3244 - key : JAVA_HOME
33- value : /usr/local/openjdk-11
34- - key : JMXTRANS_VERSION
35- value : 1.2.8
45+ value : /usr/local/openjdk-11
You can’t perform that action at this time.
0 commit comments