Skip to content
This repository has been archived by the owner on Jul 25, 2022. It is now read-only.

Commit

Permalink
Only add path to iml-cli-proxy
Browse files Browse the repository at this point in the history
Signed-off-by: Nathaniel Clark <nclark@whamcloud.com>
  • Loading branch information
utopiabound committed Oct 1, 2020
1 parent 415c994 commit 3e04eb5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker/iml-cli-proxy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ if [ -n "$RUST_LOG" ]; then
ENVOPT="-e RUST_LOG=$RUST_LOG"
fi

docker exec -i $TTYOPT $ENVOPT iml_iml-manager-cli.1.$trailer /usr/local/bin/iml "${@:1}"
docker exec -i $TTYOPT $ENVOPT iml_iml-manager-cli.1.$trailer /usr/bin/iml "${@:1}"
4 changes: 2 additions & 2 deletions docker/iml-manager-cli.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ COPY --from=builder /build/target/release/iml /usr/bin
COPY docker/wait-for-dependencies.sh /usr/local/bin

RUN echo -e "#! /usr/bin/env bash\n\
source /root/.profile && /usr/bin/iml \"\${@:1}\"\n\
source /root/.profile && /usr/bin/iml \${@:1}\n\
" > /usr/local/bin/iml && chmod +x /usr/local/bin/iml

ENTRYPOINT wait-for-dependencies.sh && cat /var/lib/chroma/iml-settings.conf > ~/.profile && /bin/bash
ENTRYPOINT wait-for-dependencies.sh && cat /var/lib/chroma/iml-settings.conf > ~/.profile && /bin/bash

0 comments on commit 3e04eb5

Please sign in to comment.