Switch to maintained fork of osslsigncode

This commit is contained in:
Jeffrey C. Ollie 2020-08-14 19:10:02 -05:00
parent cf07868b84
commit f3696cdc6b
Signed by: jeff
GPG key ID: 6F86035A6D97044E

View file

@ -1,21 +1,16 @@
# Originally from: # Originally from:
# https://raw.githubusercontent.com/giantswarm/signcode-util/master/Dockerfile # https://raw.githubusercontent.com/giantswarm/signcode-util/master/Dockerfile
FROM alpine:3.6 AS base FROM alpine AS base
RUN apk add --no-cache curl libgsf openssl RUN apk add --no-cache curl libgsf openssl
FROM base AS build FROM base AS build
ARG VERSION RUN apk add --update autoconf automake build-base curl-dev git libgsf-dev libtool openssl-dev
ARG SHA256_HASH RUN git clone https://github.com/mtrojnar/osslsigncode.git
WORKDIR /osslsigncode
RUN apk add --update autoconf build-base curl-dev libgsf-dev openssl-dev RUN ./autogen.sh
RUN curl -s -L https://downloads.sourceforge.net/project/osslsigncode/osslsigncode/osslsigncode-$VERSION.tar.gz > osslsigncode-$VERSION.tar.gz
RUN echo "$SHA256_HASH osslsigncode-$VERSION.tar.gz" > SHA256SUM
RUN sha256sum -c SHA256SUM
RUN tar xzf osslsigncode-$VERSION.tar.gz
WORKDIR /osslsigncode-$VERSION
RUN ./configure RUN ./configure
RUN make RUN make
RUN make install RUN make install