FROM alpine:latest RUN apk add --no-cache \ build-base \ cmake \ pkgconfig \ bash \ musl-dev WORKDIR /app COPY . . COPY --chmod=755 docker/dropshell_alpine/_create_dropshell.sh /scripts/ RUN rm -rf build ENV CXXFLAGS="-static-libstdc++ -static-libgcc" ENV LDFLAGS="-static" CMD ["/bin/bash","/scripts/_create_dropshell.sh"]