FROM alpine:latest RUN apk add --no-cache \ build-base \ cmake \ git \ ncurses-dev \ pkgconfig \ libtbb-dev \ xxhash-dev \ bash WORKDIR /app COPY . . COPY --chmod=755 docker/dropshell_alpine_builder/_create_dropshell.sh /scripts/ RUN rm -rf build # dropshell makesafecmd "cmake .. -DCMAKE_BUILD_TYPE=Release && make -j4 && cp /app/build/dropshell /output/ && chmod a+rwx /output/dropshell" CMD ["/bin/bash","/scripts/_create_dropshell.sh"]