mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-06 16:04:26 +01:00
Ensure the image used on the guest does include libseccomp, otherwise when a seccomp profile is passed by the runtime, it will end up with boot failure on the guest. Fixes: #153 Signed-off-by: Nitesh Konkar niteshkonkar@in.ibm.com
11 lines
402 B
Docker
11 lines
402 B
Docker
#
|
|
# Copyright (c) 2018 HyperHQ Inc.
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
From golang:@GO_VERSION@-alpine3.7
|
|
|
|
# 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 libseccomp libseccomp-dev && \
|
|
echo -e '#!/bin/sh\nuname -m' > /usr/bin/arch && chmod +x /usr/bin/arch
|