Skip to content

Commit

Permalink
Set JAVA_TOOL_OPTIONS in a second place (#217)
Browse files Browse the repository at this point in the history
  • Loading branch information
pmcq authored Feb 8, 2022
1 parent 448092e commit f0934c4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions languages/Dockerfile.compile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ RUN /usr/local/bin/algorithmia-build
USER root
COPY mounted-scripts /opt/algorithmiaio/mounted-scripts
COPY ca-certificates /opt/algorithmia/ca-certificates
# Update JAVA_TOOL_OPTIONS with those required for this specific build which might include proxy variables
ENV JAVA_TOOL_OPTIONS "$JAVA_TOOL_OPTIONS_BUILD $JAVA_TOOL_OPTIONS"
RUN /opt/algorithmiaio/mounted-scripts/customize-container-v2.sh algo /usr/local/bin/algorithmia-build
{%- endif %}
{%- endif %}
Expand Down

0 comments on commit f0934c4

Please sign in to comment.