mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-07 08:24:23 +01:00
Don't default to a hard-coded Intel architecture - default to the host architecture. This requires the `coreutils` package to be installed both inside each docker image (for `USE_DOCKER=true`) and in the host environments. Added missing SPDX headers to `Dockerfile` templates to pacify the CI checks. Fixes #100. Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
11 lines
376 B
Docker
11 lines
376 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 && \
|
|
echo -e '#!/bin/sh\nuname -m' > /usr/bin/arch && chmod +x /usr/bin/arch
|