-
Notifications
You must be signed in to change notification settings - Fork 742
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
portable builds by default, build multiarch lcli
- Loading branch information
Showing
2 changed files
with
65 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# This image is meant to enable cross-architecture builds. | ||
# It assumes the lcli binary has already been | ||
# compiled for `$TARGETPLATFORM` and moved to `./bin`. | ||
FROM --platform=$TARGETPLATFORM ubuntu:22.04 | ||
RUN apt update && apt -y upgrade && apt clean && rm -rf /var/lib/apt/lists/* | ||
COPY ./bin/lcli /usr/local/bin/lcli |