X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=docker-build%2Fswift%2FDockerfile;h=25fa9ad095abb4def66d80d655da6b8d9197fc64;hb=f85f58936fd8af9f6e759f042b5f9725ddc91f5d;hp=42336184a283b207f00383f52c63587c31867809;hpb=2ed671c54dad28dd81763928b28cd17d5c76df66;p=ta%2Fcaas-registry.git diff --git a/docker-build/swift/Dockerfile b/docker-build/swift/Dockerfile index 4233618..25fa9ad 100644 --- a/docker-build/swift/Dockerfile +++ b/docker-build/swift/Dockerfile @@ -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 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"]