summaryrefslogtreecommitdiffstats
path: root/samples/services/nginx/docker/subservices/lb/Dockerfile
blob: 3b13631e0f9e53222896e093c662ba9c3de2fc9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# 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 LB"

RUN \
    apt-get update && apt-get install -y \
# Some debug tool in container
    wget \
    libdnet \
    net-tools \
# Nginx as proxy
    nginx \
    python-pip \
&& \
# Install required python packages
    python -m pip install grpcio redis jinja2 protobuf

COPY /process /process
COPY /grpc /grpc
CMD ./process/start_process.sh lb