summaryrefslogtreecommitdiffstats
path: root/gluster-s3object/CentOS/docker-gluster-s3/Dockerfile
diff options
context:
space:
mode:
authorHumble Devassy Chirammal <humble.devassy@gmail.com>2017-07-31 12:29:37 +0000
committerGitHub <noreply@github.com>2017-07-31 12:29:37 +0000
commite5da35f7f83b2be0b78aadc1056a5dd9d77f4835 (patch)
treea854f78176e4406ed65455e778059ce9a46dc0e3 /gluster-s3object/CentOS/docker-gluster-s3/Dockerfile
parent4757dd977452d15baae91d46a7895cd3d5b7863e (diff)
parentb214fff44235d8f011fcd9de12a9d2735deb50ee (diff)
downloadgluster-e5da35f7f83b2be0b78aadc1056a5dd9d77f4835.tar.gz
gluster-e5da35f7f83b2be0b78aadc1056a5dd9d77f4835.tar.bz2
gluster-e5da35f7f83b2be0b78aadc1056a5dd9d77f4835.tar.xz
gluster-e5da35f7f83b2be0b78aadc1056a5dd9d77f4835.zip
Merge pull request #50 from vredara/s3_auth_add_user
Added S3 authentication changes
Diffstat (limited to 'gluster-s3object/CentOS/docker-gluster-s3/Dockerfile')
-rw-r--r--gluster-s3object/CentOS/docker-gluster-s3/Dockerfile7
1 files changed, 6 insertions, 1 deletions
diff --git a/gluster-s3object/CentOS/docker-gluster-s3/Dockerfile b/gluster-s3object/CentOS/docker-gluster-s3/Dockerfile
index 9ec1e2f..fdfb0ec 100644
--- a/gluster-s3object/CentOS/docker-gluster-s3/Dockerfile
+++ b/gluster-s3object/CentOS/docker-gluster-s3/Dockerfile
@@ -54,6 +54,7 @@ COPY swift-proxy.service /lib/systemd/system/
COPY swift-account.service /lib/systemd/system/
COPY swift-container.service /lib/systemd/system/
COPY swift-object.service /lib/systemd/system/
+COPY swift-adduser.service /lib/systemd/system/
# Replace openstack swift conf files with local gluster-swift ones
COPY etc/swift/* /etc/swift/
@@ -62,6 +63,9 @@ COPY etc/swift/* /etc/swift/
COPY update_gluster_vol.sh /usr/local/bin/update_gluster_vol.sh
RUN chmod +x /usr/local/bin/update_gluster_vol.sh
+COPY gluster-swift-add-user /usr/local/bin/gluster-swift-add-user
+RUN chmod +x /usr/local/bin/gluster-swift-add-user
+
# volumes to be exposed as object storage is present in swift-volumes file
COPY etc/sysconfig/swift-volumes /etc/sysconfig/swift-volumes
@@ -76,7 +80,8 @@ systemctl enable memcached.service;\
systemctl enable swift-proxy.service;\
systemctl enable swift-account.service;\
systemctl enable swift-container.service;\
-systemctl enable swift-object.service;
+systemctl enable swift-object.service;\
+systemctl enable swift-adduser.service;
ENTRYPOINT ["/usr/local/bin/update_gluster_vol.sh"]
CMD ["/usr/sbin/init"]