FROM registry.vereign.com/docker/vcl-build-base:buster as builder ARG GITLAB_LOGIN ARG GITLAB_PASSWORD COPY . /go/src/code.vereign.com/code/vcl RUN git config --global url."https://$GITLAB_LOGIN:$GITLAB_PASSWORD@code.vereign.com".insteadOf "https://code.vereign.com" && \ cd /go/src/code.vereign.com/code/vcl && \ make FROM registry.vereign.com/docker/go-runtime:master COPY --from=builder /go/src/code.vereign.com/code/vcl/javascript/dist /srv/dist ENTRYPOINT ["/bin/cp","-a","/srv/dist/.","/srv/target"]