From cfc506f98b43bacf788099a5898dc321e3374d96 Mon Sep 17 00:00:00 2001 From: Philip Jenvey Date: Tue, 22 May 2018 20:07:52 -0700 Subject: [PATCH] fix: actually pass thru $WITH_RUST Issue #1253 --- Dockerfile | 3 ++- Dockerfile.python27 | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5ef81c33..9185e513 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 && \ diff --git a/Dockerfile.python27 b/Dockerfile.python27 index 4a493e37..5a1d0852 100644 --- a/Dockerfile.python27 +++ b/Dockerfile.python27 @@ -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 && \