Build the membarrier checker using Alpine 3.14.
This commit is contained in:
parent
a20625e949
commit
1b36ec0101
1 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
# Build the membarrier check tool.
|
# Build the membarrier check tool.
|
||||||
FROM alpine:3.12
|
FROM alpine:3.14 AS membarrier
|
||||||
WORKDIR /tmp
|
WORKDIR /tmp
|
||||||
COPY membarrier_check.c .
|
COPY membarrier_check.c .
|
||||||
RUN apk --no-cache add build-base linux-headers
|
RUN apk --no-cache add build-base linux-headers
|
||||||
|
@ -157,7 +157,7 @@ RUN \
|
||||||
|
|
||||||
# Add files.
|
# Add files.
|
||||||
COPY rootfs/ /
|
COPY rootfs/ /
|
||||||
COPY --from=0 /tmp/membarrier_check /usr/bin/
|
COPY --from=membarrier /tmp/membarrier_check /usr/bin/
|
||||||
|
|
||||||
# Set environment variables.
|
# Set environment variables.
|
||||||
ENV APP_NAME="Firefox"
|
ENV APP_NAME="Firefox"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue