Skip to content

Commit

Permalink
fix: add back required TARGETARCH for installer
Browse files Browse the repository at this point in the history
Adds back in the required TARGETARCH for installer so extensions can be built off installer again as nvidia nonfree extension building was broken.

Fixes: #7155
Refs: #7115

Signed-off-by: Michael A. Davis <6325127+mrmichaeladavis@users.noreply.github.com>
Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
(cherry picked from commit d4e94f7)
  • Loading branch information
mrmichaeladavis authored and smira committed May 8, 2023
1 parent 8a8fc5f commit 05f65f1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -707,6 +707,8 @@ LABEL org.opencontainers.image.source https://github.com/siderolabs/talos
ENTRYPOINT ["/bin/installer"]

FROM installer-image-squashed AS installer
ARG TARGETARCH
ENV TARGETARCH ${TARGETARCH}
ONBUILD RUN apk add --no-cache --update \
cpio \
squashfs-tools \
Expand Down

0 comments on commit 05f65f1

Please sign in to comment.