docker: remove one step from proxy setup

We can always deploy these files since the default versions have all the
settings commented out - save proxy users from needing to uncomment
these (it's annoying if you miss doing so).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
Paul Eggleton 2018-08-28 09:51:43 +12:00
parent f82f5f2754
commit 308a1c6cfe

View File

@ -59,11 +59,9 @@ RUN mkdir /opt/workdir \
&& chown -R layers /opt && chown -R layers /opt
USER layers USER layers
## Uncomment to add a .gitconfig file within container # Always copy in .gitconfig and proxy helper script (they need editing to be active)
#COPY docker/.gitconfig /home/layers/.gitconfig COPY docker/.gitconfig /home/layers/.gitconfig
## Uncomment to add a proxy script within container, if you choose to COPY docker/git-proxy /opt/bin/git-proxy
## do so, you will also have to edit .gitconfig appropriately
#COPY docker/git-proxy /opt/bin/git-proxy
# Start Gunicorn # Start Gunicorn
CMD ["/usr/local/bin/gunicorn", "wsgi:application", "--workers=4", "--bind=:5000", "--log-level=debug", "--chdir=/opt/layerindex"] CMD ["/usr/local/bin/gunicorn", "wsgi:application", "--workers=4", "--bind=:5000", "--log-level=debug", "--chdir=/opt/layerindex"]