Mount /etc/yum.repos.d from host to storage-repo
We have to mount /etc/yum.repos.d into fuel-storage-repo container if we want to get latest repos inside containers. Otherwise we will have latest repos, but they won't be used. Change-Id: I7de729be3cb17cb13d1838b69fb964cb43248cff Closes-Bug: #1390375
This commit is contained in:
parent
9b889cc97c
commit
d942738c84
|
@ -1,5 +1,5 @@
|
|||
#Link /var/www/nailgun/{centos,ubuntu} to /repo/{centos,ubuntu} on invocation
|
||||
FROM busybox
|
||||
RUN mkdir -p /var/www/nailgun/
|
||||
VOLUME /var/www/nailgun/
|
||||
VOLUME ["/var/www/nailgun/", "/etc/yum.repos.d/"]
|
||||
CMD /bin/echo storage/repo I am a data-only container for Fuel && ln -s /repo/* /var/www/nailgun/
|
||||
|
|
Loading…
Reference in New Issue