Only portable builds (docker) (#5614)

* portable builds by default, build multiarch lcli
This commit is contained in:
antondlr
2024-04-23 19:58:47 +02:00
committed by GitHub
parent 05fbbdd840
commit 76460ba838
2 changed files with 65 additions and 54 deletions

6
lcli/Dockerfile.cross Normal file
View File

@@ -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