2020-08-14 11:56:47 -05:00
|
|
|
# Originally from:
|
|
|
|
# https://raw.githubusercontent.com/giantswarm/signcode-util/master/Dockerfile
|
|
|
|
|
2020-08-14 19:10:02 -05:00
|
|
|
FROM alpine AS base
|
2020-08-14 11:56:47 -05:00
|
|
|
|
2020-08-14 12:01:52 -05:00
|
|
|
RUN apk add --no-cache curl libgsf openssl
|
2020-08-14 11:56:47 -05:00
|
|
|
|
|
|
|
FROM base AS build
|
|
|
|
|
2020-08-14 19:10:02 -05:00
|
|
|
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
|
2020-08-14 11:56:47 -05:00
|
|
|
RUN ./configure
|
|
|
|
RUN make
|
|
|
|
RUN make install
|
|
|
|
|
|
|
|
FROM base
|
|
|
|
|
|
|
|
COPY --from=build /usr/local/bin/osslsigncode /usr/local/bin
|