mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-05 13:14:46 +02:00
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:
parent
f82f5f2754
commit
308a1c6cfe
|
@ -59,11 +59,9 @@ RUN mkdir /opt/workdir \
|
|||
&& chown -R layers /opt
|
||||
USER layers
|
||||
|
||||
## Uncomment to add a .gitconfig file within container
|
||||
#COPY docker/.gitconfig /home/layers/.gitconfig
|
||||
## Uncomment to add a proxy script within container, if you choose to
|
||||
## do so, you will also have to edit .gitconfig appropriately
|
||||
#COPY docker/git-proxy /opt/bin/git-proxy
|
||||
# Always copy in .gitconfig and proxy helper script (they need editing to be active)
|
||||
COPY docker/.gitconfig /home/layers/.gitconfig
|
||||
COPY docker/git-proxy /opt/bin/git-proxy
|
||||
|
||||
# Start Gunicorn
|
||||
CMD ["/usr/local/bin/gunicorn", "wsgi:application", "--workers=4", "--bind=:5000", "--log-level=debug", "--chdir=/opt/layerindex"]
|
||||
|
|
Loading…
Reference in New Issue
Block a user