# Originally from: # https://raw.githubusercontent.com/giantswarm/signcode-util/master/Dockerfile FROM alpine AS base RUN apk add --no-cache curl libgsf openssl FROM base AS build RUN apk add --update autoconf automake build-base curl-dev git libgsf-dev libtool openssl-dev RUN git clone https://github.com/mtrojnar/osslsigncode.git WORKDIR /osslsigncode RUN ./autogen.sh RUN ./configure RUN make RUN make install FROM base COPY --from=build /usr/local/bin/osslsigncode /usr/local/bin