Compare commits
2 commits
cf07868b84
...
62dd09040e
Author | SHA1 | Date | |
---|---|---|---|
62dd09040e | |||
f3696cdc6b |
2 changed files with 6 additions and 15 deletions
|
@ -19,14 +19,10 @@ steps:
|
|||
image: plugins/docker
|
||||
settings:
|
||||
repo: jcollie/osslsigncode
|
||||
build_args:
|
||||
- VERSION=1.7.1
|
||||
- SHA256_HASH=f9a8cdb38b9c309326764ebc937cba1523a3a751a7ab05df3ecc99d18ae466c9
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
tags:
|
||||
- latest
|
||||
- '1.7.1'
|
||||
- '1.7'
|
||||
- '2.0'
|
||||
|
|
15
Dockerfile
15
Dockerfile
|
@ -1,21 +1,16 @@
|
|||
# Originally from:
|
||||
# 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
|
||||
|
||||
FROM base AS build
|
||||
|
||||
ARG VERSION
|
||||
ARG SHA256_HASH
|
||||
|
||||
RUN apk add --update autoconf build-base curl-dev libgsf-dev openssl-dev
|
||||
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 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
|
||||
|
|
Loading…
Reference in a new issue