# 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
&& 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"]