jcefbuild/DockerfileLinux
2021-10-25 12:51:05 +02:00

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 .