summaryrefslogtreecommitdiffstats
path: root/samples/services/nginx/docker/subservices/proxy/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'samples/services/nginx/docker/subservices/proxy/Dockerfile')
-rw-r--r--samples/services/nginx/docker/subservices/proxy/Dockerfile27
1 files changed, 27 insertions, 0 deletions
diff --git a/samples/services/nginx/docker/subservices/proxy/Dockerfile b/samples/services/nginx/docker/subservices/proxy/Dockerfile
new file mode 100644
index 0000000..0f061a5
--- /dev/null
+++ b/samples/services/nginx/docker/subservices/proxy/Dockerfile
@@ -0,0 +1,27 @@
+# Copyright (c) Authors of Clover
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+
+FROM ubuntu:16.04
+LABEL maintainer="Eddie Arrage" maintainer_email="eddie.arrage@huawei.com"
+LABEL version="0.1" description="Clover - Nginx HTTP Proxy"
+
+RUN \
+ apt-get update && apt-get install -y \
+# Some debug tools in container
+ wget \
+ libdnet \
+ net-tools \
+# Nginx as proxy
+ nginx \
+ python-pip \
+&& \
+# Install required python packages
+ python -m pip install grpcio redis jinja2
+
+COPY /process /process
+COPY /grpc /grpc
+CMD ./process/start_process.sh proxy