mirror of
https://github.com/woodchen-ink/docker-firefox.git
synced 2025-07-18 13:52:02 +08:00
Build the membarrier checker using Alpine 3.14.
This commit is contained in:
parent
a20625e949
commit
1b36ec0101
@ -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…
x
Reference in New Issue
Block a user