mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-19 09:53:02 -04:00
Add linux-headers for arm build
This commit is contained in:
+5
-4
@@ -1,5 +1,5 @@
|
|||||||
## Buildstage ##
|
## Buildstage ##
|
||||||
FROM ghcr.io/linuxserver/baseimage-alpine:3.17 as buildstage-amd64
|
FROM ghcr.io/linuxserver/baseimage-alpine:3.17 as buildstage-x86_64
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
echo "**** install packages ****" && \
|
echo "**** install packages ****" && \
|
||||||
@@ -30,7 +30,8 @@ RUN \
|
|||||||
apk add -U --update --no-cache --virtual=build-dependencies \
|
apk add -U --update --no-cache --virtual=build-dependencies \
|
||||||
autoconf \
|
autoconf \
|
||||||
automake \
|
automake \
|
||||||
build-base && \
|
build-base \
|
||||||
|
linux-headers && \
|
||||||
echo "**** install par2cmdline-turbo from source ****" && \
|
echo "**** install par2cmdline-turbo from source ****" && \
|
||||||
mkdir /tmp/par2cmdline && \
|
mkdir /tmp/par2cmdline && \
|
||||||
curl -o \
|
curl -o \
|
||||||
@@ -53,5 +54,5 @@ FROM scratch
|
|||||||
LABEL maintainer="thespad"
|
LABEL maintainer="thespad"
|
||||||
|
|
||||||
# Add files from buildstage
|
# Add files from buildstage
|
||||||
COPY --from=buildstage-amd64 /root-layer/ /tmp/amd64
|
COPY --from=buildstage-x86_64 /root-layer/ /par2cmdline-turbo/x86_64
|
||||||
COPY --from=buildstage-aarch64 /root-layer/ /tmp/aarch64
|
COPY --from=buildstage-aarch64 /root-layer/ /par2cmdline-turbo/aarch64
|
||||||
|
|||||||
Reference in New Issue
Block a user