forked from matej-g/docker-swift-onlyone-authv2-keystone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
27 lines (21 loc) · 969 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
FROM ubuntu:16.04
LABEL Author="matej-g <[email protected]>"
RUN DEBIAN_FRONTEND=noninteractive apt-get update \
&& apt-get install -y supervisor \
swift python-swiftclient rsync \
swift-proxy swift-object memcached python-keystone python-keystoneclient \
python-swiftclient swift-plugin-s3 python-netifaces \
python-xattr python-memcache \
swift-account swift-container swift-object pwgen \
rsyslog curl python-openstackclient keystone \
uwsgi uwsgi-plugin-python netcat-openbsd \
&& rm -rf /var/lib/apt/lists/*
COPY files/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
# Swift configuration
# - Partially fom http://docs.openstack.org/developer/swift/development_saio.html
COPY swift/ /etc/swift/
COPY files/rsyncd.conf /etc/rsyncd.conf
COPY files/startmain.sh /usr/local/bin/startmain.sh
RUN chmod 755 /usr/local/bin/*.sh
EXPOSE 8080 5000 5001
CMD /usr/local/bin/startmain.sh