Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docker/Dockerfile_java_cli
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ RUN curl -H "Authorization: Bearer ${ACCESS_TOKEN}" \
&& unzip "${JAVA_CLI_ZIP_NAME}" \
&& rm "${JAVA_CLI_ZIP_NAME}"

ENV JAVA_CLI_PATH="$(find $pwd -type f -name "utbot-cli*")"
ENV JAVA_CLI_PATH="$(find /usr/src -type f -name utbot-cli*)"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You use /usr/src in two places so maybe it would be useful to switch to variable. Use ARG to access variable only in build stage or ENV to use inside docker container as well

RUN ln -s "${JAVA_CLI_PATH}" $pwd/utbot-cli.jar