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

Remove CLI indirection #2294

Merged
merged 1 commit into from
Oct 1, 2020
Merged
Show file tree
Hide file tree
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
1 change: 0 additions & 1 deletion docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,6 @@ services:
volumes:
- "manager-config:/var/lib/chroma"
environment:
- SERVER_HTTP_URL=gunicorn
- RUST_LOG=info
iml-ostpool:
image: "imlteam/iml-ostpool:6.2.0-dev"
Expand Down
6 changes: 1 addition & 5 deletions docker/iml-manager-cli.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,4 @@ FROM imlteam/rust-service-base:6.2.0-dev
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\
" > /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 && /bin/bash