[456932] Armada Manifest changes for configmap and endpoints
- Modified Docker file Change-Id: I883bb43d183abae01a21f33cc960c4608220c8ec
This commit is contained in:
parent
242640c855
commit
f1fb47841a
13
Dockerfile
13
Dockerfile
@ -47,14 +47,15 @@ RUN python setup.py install
|
|||||||
RUN useradd -u 1000 -ms /bin/bash ranger
|
RUN useradd -u 1000 -ms /bin/bash ranger
|
||||||
|
|
||||||
# Change permissions
|
# Change permissions
|
||||||
RUN chown -R ranger: /home/ranger \
|
RUN mkdir -p /etc/ranger \
|
||||||
&& mkdir /var/log/ranger \
|
&& mkdir /var/log/ranger \
|
||||||
&& mkdir -p /opt/app \
|
&& mkdir -p /opt/app \
|
||||||
&& mkdir /opt/app/git_repo \
|
&& mkdir /home/ranger/git_repo \
|
||||||
&& chown -R ranger: /var/log/ranger \
|
&& chown -R ranger: /var/log/ranger \
|
||||||
&& mv /tmp/ranger /opt/app/ranger
|
&& mv /tmp/ranger /home/ranger/ranger \
|
||||||
|
&& chown -R ranger: /home/ranger \
|
||||||
|
&& chown -R ranger: /etc/ranger
|
||||||
|
|
||||||
# Set work directory
|
# Set work directory
|
||||||
USER root
|
USER ranger
|
||||||
WORKDIR /opt/app/ranger
|
WORKDIR /home/ranger
|
||||||
|
|
||||||
|
11
setup.cfg
11
setup.cfg
@ -1,5 +1,5 @@
|
|||||||
[metadata]
|
[metadata]
|
||||||
name = orm
|
name = ranger
|
||||||
version = 2016.3.0
|
version = 2016.3.0
|
||||||
summary = OpenStack Resource Manager
|
summary = OpenStack Resource Manager
|
||||||
description-file =
|
description-file =
|
||||||
@ -23,7 +23,10 @@ setup-hooks =
|
|||||||
pbr.hooks.setup_hook
|
pbr.hooks.setup_hook
|
||||||
|
|
||||||
[files]
|
[files]
|
||||||
packages = orm
|
packages = ranger
|
||||||
|
data_files =
|
||||||
|
/etc/ranger =
|
||||||
|
etc/ranger/ranger.conf
|
||||||
|
|
||||||
[entry_points]
|
[entry_points]
|
||||||
console_scripts=
|
console_scripts=
|
||||||
@ -48,10 +51,10 @@ upload-dir = doc/build/html
|
|||||||
|
|
||||||
[compile_catalog]
|
[compile_catalog]
|
||||||
directory = orm/locale
|
directory = orm/locale
|
||||||
domain = orm
|
domain = ranger
|
||||||
|
|
||||||
[update_catalog]
|
[update_catalog]
|
||||||
domain = orm
|
domain = ranger
|
||||||
output_dir = orm/locale
|
output_dir = orm/locale
|
||||||
input_file = orm/locale/orm.pot
|
input_file = orm/locale/orm.pot
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user