Skip to content

Commit

Permalink
Add process-dependency-links option to let it install customized aioh…
Browse files Browse the repository at this point in the history
…ttp.
  • Loading branch information
achimnol committed Mar 23, 2018
1 parent 2b988ce commit 3973735
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docker/manager/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM python:3.6

ARG branch=master
ARG branch=1.3

RUN pip install -U -q pip setuptools
RUN apt-get update && \
Expand All @@ -10,10 +10,11 @@ WORKDIR /app
RUN curl https://raw.githubusercontent.com/eficode/wait-for/master/wait-for --output /usr/local/bin/wait-for && \
chmod +x /usr/local/bin/wait-for
RUN apt-get install -y postgresql-client
RUN git clone -b $branch --single-branch https://github.com/lablup/backend.ai-manager --depth 50 /app && \
RUN git clone -b ${branch} --single-branch https://github.com/lablup/backend.ai-manager --depth 50 /app && \
pip install \
--no-cache-dir \
-e "git+https://github.com/lablup/backend.ai-common@$branch#egg=backend.ai-common" \
-e "git+https://github.com/lablup/backend.ai-common@${branch}#egg=backend.ai-common" \
--process-dependency-links \
-e .

CMD ["wait-for", "backendai-etcd:2379", "--", "wait-for", "backendai-db:5432", "--", "python", "-m", "ai.backend.gateway.server"]

0 comments on commit 3973735

Please sign in to comment.