mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-30 17:22:33 +00:00
Merge pull request #154 from nitkon/seccomp
rootfs: Include libseccomp support in rootfs
This commit is contained in:
commit
67dba890cd
@ -6,5 +6,5 @@
|
|||||||
From golang:@GO_VERSION@-alpine3.7
|
From golang:@GO_VERSION@-alpine3.7
|
||||||
|
|
||||||
# The "coreutils" package on alpine for reasons unknown does not provide arch(1), so simulate it.
|
# The "coreutils" package on alpine for reasons unknown does not provide arch(1), so simulate it.
|
||||||
RUN apk update && apk add git make bash gcc musl-dev linux-headers apk-tools-static && \
|
RUN apk update && apk add git make bash gcc musl-dev linux-headers apk-tools-static libseccomp libseccomp-dev && \
|
||||||
echo -e '#!/bin/sh\nuname -m' > /usr/bin/arch && chmod +x /usr/bin/arch
|
echo -e '#!/bin/sh\nuname -m' > /usr/bin/arch && chmod +x /usr/bin/arch
|
||||||
|
@ -7,7 +7,7 @@ From centos:@OS_VERSION@
|
|||||||
|
|
||||||
@SET_PROXY@
|
@SET_PROXY@
|
||||||
|
|
||||||
RUN yum -y update && yum install -y git make gcc coreutils
|
RUN yum -y update && yum install -y git make gcc coreutils libseccomp libseccomp-devel
|
||||||
|
|
||||||
# This will install the proper golang to build Kata components
|
# This will install the proper golang to build Kata components
|
||||||
@INSTALL_GO@
|
@INSTALL_GO@
|
||||||
|
@ -7,7 +7,7 @@ From fedora:27
|
|||||||
|
|
||||||
@SET_PROXY@
|
@SET_PROXY@
|
||||||
|
|
||||||
RUN dnf -y update && dnf install -y git systemd pkgconfig gcc coreutils
|
RUN dnf -y update && dnf install -y git systemd pkgconfig gcc coreutils libseccomp libseccomp-devel
|
||||||
|
|
||||||
# This will install the proper golang to build Kata components
|
# This will install the proper golang to build Kata components
|
||||||
@INSTALL_GO@
|
@INSTALL_GO@
|
||||||
|
@ -7,7 +7,7 @@ From fedora:@OS_VERSION@
|
|||||||
|
|
||||||
@SET_PROXY@
|
@SET_PROXY@
|
||||||
|
|
||||||
RUN dnf -y update && dnf install -y git redhat-release systemd pkgconfig gcc make
|
RUN dnf -y update && dnf install -y git redhat-release systemd pkgconfig gcc make libseccomp libseccomp-devel
|
||||||
|
|
||||||
# This will install the proper golang to build Kata components
|
# This will install the proper golang to build Kata components
|
||||||
@INSTALL_GO@
|
@INSTALL_GO@
|
||||||
|
Loading…
Reference in New Issue
Block a user