AArch64 support
[ta/caas-registry.git] / docker-build / swift / Dockerfile
index 4233618..25fa9ad 100644 (file)
@@ -12,7 +12,9 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-FROM centos:7.6.1810
+FROM scratch
+ADD centos-7-docker.tar.xz /
+CMD ["/bin/bash"]
 MAINTAINER Balint Varga <balint.varga@nokia.com>
 
 ARG SWIFT
@@ -156,6 +158,6 @@ python-lxml python-chardet python-requests \
 &&  yum clean all \
 &&  rm -rf /etc/yum.repos.d/luxembourg.repo \
 &&  rm -rf ${GOPATH} \
-&&  setcap 'cap_net_bind_service=+ep' /usr/bin/rsync
+&&  setcap 'cap_setgid,cap_setuid,cap_net_bind_service=+ep' /usr/bin/rsync
 
 ENTRYPOINT ["/usr/bin/mainstart.sh"]