mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-02 22:14:27 +01:00
or Podman. This is a partial revert of
76c18aa345. The rationale behind that
commit was the fact that the agent could not be built on Alpine, and
then this capability was removed altogether. The issue in Alpine has
since been resolved (see
https://github.com/kata-containers/osbuilder/issues/386). At the same
time, this ensures being able to run a glibc agent on hosts with distros
more recent than the osbuilder distro used (i.e. as of now, when you
build the agent on the host, and its glibc is newer than the one used in
the guest, the agent may encounter unresolved symbols).
Fixes #2398
Signed-off-by: Jakob Naucke <jakob.naucke@ibm.com>
30 lines
447 B
Docker
30 lines
447 B
Docker
#
|
|
# Copyright (c) 2018 HyperHQ Inc.
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
ARG IMAGE_REGISTRY=docker.io
|
|
FROM ${IMAGE_REGISTRY}/alpine:3.13.5
|
|
|
|
RUN apk update && apk add \
|
|
apk-tools-static \
|
|
autoconf \
|
|
automake \
|
|
bash \
|
|
binutils \
|
|
cmake \
|
|
coreutils \
|
|
curl \
|
|
g++ \
|
|
gcc \
|
|
git \
|
|
libc-dev \
|
|
libseccomp \
|
|
libseccomp-dev \
|
|
linux-headers \
|
|
m4 \
|
|
make \
|
|
musl \
|
|
musl-dev \
|
|
tar
|