Skip to content

Commit

Permalink
Adds the ability to specify light builds (for scheduler builds) (#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevgliss authored Mar 23, 2020
1 parent 4057b8e commit e7827a5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
5 changes: 4 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
recursive-include src/dispatch *
include setup.py README.md MANIFEST.in LICENSE AUTHORS
recursive-include ./ requirements*.txt
graft src/dispatch
global-exclude *~
6 changes: 6 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,11 @@ ENV DISPATCH_BUILD=${SOURCE_COMMIT:-unknown}
LABEL org.opencontainers.image.revision=$SOURCE_COMMIT
LABEL org.opencontainers.image.licenses="https://github.com/netflix/dispatch/blob/${SOURCE_COMMIT:-master}/LICENSE"

ARG DISPATCH_LIGHT_BUILD
ENV DISPATCH_LIGHT_BUILD=${DISPATCH_LIGHT_BUILD}

RUN echo "DISPATCH_LIGHT_BUILD=${DISPATCH_LIGHT_BUILD}"

COPY . /usr/src/dispatch/
RUN export YARN_CACHE_FOLDER="$(mktemp -d)" \
&& cd /usr/src/dispatch \
Expand Down Expand Up @@ -103,6 +108,7 @@ ENV PIP_NO_CACHE_DIR=off \
# Dispatch config params
DISPATCH_CONF=/etc/dispatch


COPY --from=sdist /dist/*.whl /tmp/dist/
RUN set -x \
&& buildDeps="" \
Expand Down

0 comments on commit e7827a5

Please sign in to comment.