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

Commit

Permalink
fix: actually pass thru $WITH_RUST
Browse files Browse the repository at this point in the history
Issue #1253
  • Loading branch information
pjenvey committed May 23, 2018
1 parent 56b79b2 commit cfc506f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@ WORKDIR /app
ENV PATH=$PATH:/root/.cargo/bin

RUN \
export WITH_RUST=release && \
apt-get update && \
apt-get install -y -qq libexpat1-dev gcc libssl-dev libffi-dev libjemalloc1 && \
curl https://sh.rustup.rs | sh -s -- -y && \
make clean && \
WITH_RUST=release pip install -r requirements.txt && \
pip install -r requirements.txt && \
pypy setup.py develop && \
cd autopush_rs && \
cargo clean && \
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile.python27
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@ WORKDIR /app
ENV PATH=$PATH:/root/.cargo/bin

RUN \
export WITH_RUST=release && \
apt-get update && \
apt-get install -y -qq libexpat1-dev gcc libssl-dev libffi-dev && \
curl https://sh.rustup.rs | sh -s -- -y && \
make clean && \
WITH_RUST=release pip install -r requirements.txt && \
pip install -r requirements.txt && \
python setup.py develop && \
cd autopush_rs && \
cargo clean && \
Expand Down

0 comments on commit cfc506f

Please sign in to comment.