mirror of
https://github.com/jcefmaven/jcefbuild.git
synced 2025-09-17 12:56:37 +08:00
23 lines
428 B
Plaintext
23 lines
428 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 existing sources, if any
|
|
COPY jcef /jcef
|
|
|
|
#Copy and launch run script
|
|
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 .
|
|
|
|
|