proxy: Do not build Arbitrary types in Docker (#889)

When the proxy's Dockerfile ran tests, it was necessary to build
Arbitrary types for quickchecking protobuf types.

Now that tests have been disabled, this optional set of dependencies is
no longer required.

Relates to #882.
This commit is contained in:
Oliver Gould 2018-05-01 14:56:24 -07:00 committed by GitHub
parent 88656ecd9d
commit 2578a47617
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -42,8 +42,8 @@ COPY proto/proxy proto/proxy
COPY proto/common proto/common
COPY proxy/controller-grpc proxy/controller-grpc
RUN if [ -n "$PROXY_UNOPTIMIZED" ]; \
then cargo build -p conduit-proxy-controller-grpc --features=arbitrary --frozen ; \
else cargo build -p conduit-proxy-controller-grpc --features=arbitrary --frozen --release ; \
then cargo build -p conduit-proxy-controller-grpc --frozen ; \
else cargo build -p conduit-proxy-controller-grpc --frozen --release ; \
fi
# Build the proxy binary using pre-built dependencies.