AlexMasterov / dockerfiles

:whale: Common Dockerfiles, used for development
56 stars 18 forks source link

Multi-Stage build #10

Closed vv3d0x closed 6 years ago

vv3d0x commented 6 years ago

Hi, I saw you are using dropbox for passing v8 lib into other images, but you could use multi-stage build instead

FROM FROM alexmasterov/alpine-libv8 as lib-v8

FROM alpine:latest

COPY --from=lib-v8 /usr/local/v8 /usr/local/v8