Compare commits

...
Sign in to create a new pull request.

13 commits

Author SHA1 Message Date
Mohan Boddu
4c9767edae "Bump RELEASE for automatic rebuild" 2018-09-21 15:58:43 +00:00
Mohan Boddu
a06b9215ee "Bump RELEASE for automatic rebuild" 2018-09-17 19:43:30 +00:00
Mohan Boddu
fe73d4a334 "Bump RELEASE for automatic rebuild" 2018-07-24 18:51:32 +00:00
Mohan Boddu
3e057f36cc "Bump RELEASE for automatic rebuild" 2018-07-23 13:09:59 +00:00
Mohan Boddu
e1055f9a73 "Bump RELEASE for automatic rebuild" 2018-07-09 13:31:57 +00:00
Mohan Boddu
a83b4af53c "Bump RELEASE for automatic rebuild" 2018-05-30 19:20:39 +00:00
Mohan Boddu
96b7f9263a "Bump RELEASE for automatic rebuild" 2018-05-21 17:56:26 +00:00
Mohan Boddu
4cbf0fbbc2 "Bump RELEASE for automatic rebuild" 2018-05-21 14:19:37 +00:00
Giuseppe Scrivano
1792068e28
cri-o: sync from upstream
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2018-05-16 15:48:33 +02:00
Giuseppe Scrivano
c3bcd9c98e
Dockerfile: bump release
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2018-05-16 10:28:22 +02:00
Giuseppe Scrivano
b86de1de64
Dockerfile: update FROM
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2018-05-16 09:59:26 +02:00
Mohan Boddu
cfd0c69155 "Bump RELEASE for automatic rebuild" 2018-04-20 16:01:02 +00:00
Mohan Boddu
ef0a7b9acc "Bump RELEASE for automatic rebuild" 2018-03-15 17:04:47 +00:00
4 changed files with 28 additions and 29 deletions

View file

@ -1,6 +1,6 @@
FROM registry.fedoraproject.org/fedora:rawhide
FROM registry.fedoraproject.org/fedora:28
ENV VERSION=0 RELEASE=4 ARCH=x86_64
ENV VERSION=0 RELEASE=15 ARCH=x86_64
LABEL com.redhat.component="cri-o" \
name="$FGC/cri-o" \
version="$VERSION" \
@ -13,15 +13,13 @@ LABEL com.redhat.component="cri-o" \
COPY README.md /
RUN dnf install --setopt=tsflags=nodocs -y iptables cri-o iproute runc && \
RUN dnf install --setopt=tsflags=nodocs -y iptables cri-o socat iproute runc && \
rpm -V iptables cri-o iproute runc && \
dnf clean all && \
mkdir -p /exports/hostfs/etc/crio /exports/hostfs/opt/cni/bin/ /exports/hostfs/var/lib/containers/storage/ && \
cp /etc/crio/* /exports/hostfs/etc/crio && \
if test -e /usr/libexec/cni; then cp -Lr /usr/libexec/cni/* /exports/hostfs/opt/cni/bin/; fi
RUN sed -i '/storage_option =/s/.*/&\n"overlay.override_kernel_check=1",/' /exports/hostfs/etc/crio/crio.conf
COPY manifest.json tmpfiles.template config.json.template service.template /exports/
COPY set_mounts.sh /

View file

@ -258,6 +258,17 @@
"source": "/tmp",
"type": "bind"
},
{
"destination": "/var/tmp",
"options": [
"private",
"bind",
"rw",
"mode=755"
],
"source": "/var/tmp",
"type": "bind"
},
{
"destination": "/etc",
"options": [
@ -291,28 +302,6 @@
"source": "/root",
"type": "bind"
},
{
"destination": "/home",
"options": [
"rbind",
"rprivate",
"rw",
"mode=755"
],
"source": "/home",
"type": "bind"
},
{
"destination": "/mnt",
"options": [
"rbind",
"rw",
"rprivate",
"mode=755"
],
"source": "/mnt",
"type": "bind"
},
{
"type": "bind",
"source": "${RUN_DIRECTORY}",
@ -390,7 +379,7 @@
"options": [
"rbind",
"rprivate",
"ro",
"rw",
"mode=755"
],
"source": "${OPT_CNI}",
@ -407,6 +396,16 @@
"source": "/dev",
"type": "bind"
},
{
"destination": "/host",
"options": [
"rbind",
"rshared",
"rw"
],
"source": "/",
"type": "bind"
},
{
"destination": "/sys",
"options": [
@ -428,5 +427,6 @@
"source": "/proc",
"type": "proc"
}
$ADDTL_MOUNTS
]
}

View file

@ -5,6 +5,7 @@
"OPT_CNI" : "/opt/cni",
"VAR_LIB_CONTAINERS_STORAGE" : "/var/lib/containers/storage",
"VAR_LIB_ORIGIN" : "/var/lib/origin",
"VAR_LIB_KUBE" : "/var/lib/kubelet"
"VAR_LIB_KUBE" : "/var/lib/kubelet",
"ADDTL_MOUNTS" : ""
}
}

2
run.sh
View file

@ -8,4 +8,4 @@ printf %s $LABEL > /proc/self/attr/exec
test -e /etc/sysconfig/crio-storage && source /etc/sysconfig/crio-storage
test -e /etc/sysconfig/crio-network && source /etc/sysconfig/crio-network
exec /usr/bin/crio --log-level=$LOG_LEVEL
exec /usr/bin/crio --bind-mount-prefix=/host --log-level=$LOG_LEVEL