From 1b36ec0101277ccf18ed57db5836ae6bfc53a4d5 Mon Sep 17 00:00:00 2001 From: Jocelyn Le Sage Date: Fri, 3 Jun 2022 09:28:54 -0400 Subject: [PATCH] Build the membarrier checker using Alpine 3.14. --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4c9db0f..a34143c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ # # Build the membarrier check tool. -FROM alpine:3.12 +FROM alpine:3.14 AS membarrier WORKDIR /tmp COPY membarrier_check.c . RUN apk --no-cache add build-base linux-headers @@ -157,7 +157,7 @@ RUN \ # Add files. COPY rootfs/ / -COPY --from=0 /tmp/membarrier_check /usr/bin/ +COPY --from=membarrier /tmp/membarrier_check /usr/bin/ # Set environment variables. ENV APP_NAME="Firefox"