[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
|
||||
|
||||
# Change permissions
|
||||
RUN chown -R ranger: /home/ranger \
|
||||
RUN mkdir -p /etc/ranger \
|
||||
&& mkdir /var/log/ranger \
|
||||
&& mkdir -p /opt/app \
|
||||
&& mkdir /opt/app/git_repo \
|
||||
&& mkdir /home/ranger/git_repo \
|
||||
&& 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
|
||||
USER root
|
||||
WORKDIR /opt/app/ranger
|
||||
|
||||
USER ranger
|
||||
WORKDIR /home/ranger
|
||||
|
11
setup.cfg
11
setup.cfg
@ -1,5 +1,5 @@
|
||||
[metadata]
|
||||
name = orm
|
||||
name = ranger
|
||||
version = 2016.3.0
|
||||
summary = OpenStack Resource Manager
|
||||
description-file =
|
||||
@ -23,7 +23,10 @@ setup-hooks =
|
||||
pbr.hooks.setup_hook
|
||||
|
||||
[files]
|
||||
packages = orm
|
||||
packages = ranger
|
||||
data_files =
|
||||
/etc/ranger =
|
||||
etc/ranger/ranger.conf
|
||||
|
||||
[entry_points]
|
||||
console_scripts=
|
||||
@ -48,10 +51,10 @@ upload-dir = doc/build/html
|
||||
|
||||
[compile_catalog]
|
||||
directory = orm/locale
|
||||
domain = orm
|
||||
domain = ranger
|
||||
|
||||
[update_catalog]
|
||||
domain = orm
|
||||
domain = ranger
|
||||
output_dir = orm/locale
|
||||
input_file = orm/locale/orm.pot
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user