Code Review
/
ta
/
caas-registry.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add maintenance toleration for caas-registry
[ta/caas-registry.git]
/
docker-build
/
swift
/
Dockerfile
diff --git
a/docker-build/swift/Dockerfile
b/docker-build/swift/Dockerfile
index
4233618
..
25fa9ad
100644
(file)
--- 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.
# 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
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} \
&& 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"]
ENTRYPOINT ["/usr/bin/mainstart.sh"]