Compare commits
No commits in common. "62dd09040eb12fd239db232e81b1041cc2c2eaa5" and "cf07868b84caaeb5d97c9d5fdae7edd52c2c1bfc" have entirely different histories.
62dd09040e
...
cf07868b84
2 changed files with 15 additions and 6 deletions
|
@ -19,10 +19,14 @@ steps:
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
repo: jcollie/osslsigncode
|
repo: jcollie/osslsigncode
|
||||||
|
build_args:
|
||||||
|
- VERSION=1.7.1
|
||||||
|
- SHA256_HASH=f9a8cdb38b9c309326764ebc937cba1523a3a751a7ab05df3ecc99d18ae466c9
|
||||||
username:
|
username:
|
||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
password:
|
password:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
tags:
|
tags:
|
||||||
- latest
|
- latest
|
||||||
- '2.0'
|
- '1.7.1'
|
||||||
|
- '1.7'
|
||||||
|
|
15
Dockerfile
15
Dockerfile
|
@ -1,16 +1,21 @@
|
||||||
# Originally from:
|
# Originally from:
|
||||||
# https://raw.githubusercontent.com/giantswarm/signcode-util/master/Dockerfile
|
# https://raw.githubusercontent.com/giantswarm/signcode-util/master/Dockerfile
|
||||||
|
|
||||||
FROM alpine AS base
|
FROM alpine:3.6 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
|
||||||
|
|
||||||
RUN apk add --update autoconf automake build-base curl-dev git libgsf-dev libtool openssl-dev
|
ARG VERSION
|
||||||
RUN git clone https://github.com/mtrojnar/osslsigncode.git
|
ARG SHA256_HASH
|
||||||
WORKDIR /osslsigncode
|
|
||||||
RUN ./autogen.sh
|
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 ./configure
|
RUN ./configure
|
||||||
RUN make
|
RUN make
|
||||||
RUN make install
|
RUN make install
|
||||||
|
|
Loading…
Reference in a new issue