diff options
author | Bin Lu <bin.lu@arm.com> | 2018-08-22 11:33:38 +0800 |
---|---|---|
committer | Bin Lu <bin.lu@arm.com> | 2018-08-31 12:52:54 +0800 |
commit | f1b0f474d7d3cd6faaec7c2e4d8f4e9c183607e8 (patch) | |
tree | 096df1b8587203f808351db0549e63d45daa574c /Dockerfile_header_arm64 | |
parent | 1d09a144bfe155dfbd2024ce771686ea47834d5e (diff) |
enable vnfsdk to support multi-arch
enable 2 functions:
1, build images for amd64/arm64
2, push image with multi-arch support
Change-Id: I50702c7797de674c67475c4c0dab6d55830a0d60
Signed-off-by: Bin Lu <bin.lu@arm.com>
Issue-ID: VNFSDK-319
Diffstat (limited to 'Dockerfile_header_arm64')
-rw-r--r-- | Dockerfile_header_arm64 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Dockerfile_header_arm64 b/Dockerfile_header_arm64 new file mode 100644 index 00000000..c7e46565 --- /dev/null +++ b/Dockerfile_header_arm64 @@ -0,0 +1,7 @@ +FROM alpine:3.7 AS builder + +ADD https://github.com/multiarch/qemu-user-static/releases/download/v2.12.0-1/qemu-aarch64-static.tar.gz /tmp +RUN tar xzf /tmp/qemu-aarch64-static.tar.gz -C /tmp + +FROM arm64v8/ubuntu:16.04 +COPY --from=builder /tmp/qemu-aarch64-static /usr/bin |