mirror of
https://github.com/jcefmaven/jcefbuild.git
synced 2025-09-24 16:06:37 +08:00
19 lines
352 B
Plaintext
19 lines
352 B
Plaintext
FROM friwidev/jcefdocker:linux-latest AS stage
|
|
|
|
#Specify a type to build: Debug or Release
|
|
ENV BUILD_TYPE Release
|
|
|
|
#Declare architecture argument
|
|
ARG TARGETARCH
|
|
|
|
WORKDIR /builder
|
|
COPY scripts/run_linux.sh .
|
|
RUN chmod +x run_linux.sh
|
|
RUN ./run_linux.sh
|
|
|
|
#Export built files
|
|
FROM scratch AS export-stage
|
|
COPY --from=stage /jcef/binary_distrib.tar.gz .
|
|
|
|
|