1
0

Do not produce error if existing

This commit is contained in:
dump_stack() 2019-08-23 06:46:37 +00:00
parent 5e6a9dec93
commit 19535fc75c
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -147,7 +147,7 @@ func generateBaseDockerImage(sk config.KernelMask) (err error) {
if sk.DistroRelease >= "14.04" { if sk.DistroRelease >= "14.04" {
d += "RUN apt-get install -y libseccomp-dev\n" d += "RUN apt-get install -y libseccomp-dev\n"
} }
d += "RUN mkdir /lib/modules\n" d += "RUN mkdir -p /lib/modules\n"
case config.CentOS: case config.CentOS:
if sk.DistroRelease < "7" && !vsyscall { if sk.DistroRelease < "7" && !vsyscall {
log.Println("Old CentOS requires `vsyscall=emulate` " + log.Println("Old CentOS requires `vsyscall=emulate` " +