From 201ef36d682702c34ce826a93db7cfa70f4513ff Mon Sep 17 00:00:00 2001 From: aleks-mariusz Date: Mon, 15 Jul 2024 09:28:21 +0100 Subject: [PATCH] update to 0.7.0, add build flag as workaround per AGWA/git-crypt#232 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index fb57b97..97fc954 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM alpine:edge MAINTAINER Xueshan Feng -ENV VERSION 0.6.0 +ENV VERSION 0.7.0 RUN apk --update add \ bash \ @@ -15,7 +15,7 @@ RUN apk --update add \ && rm -rf /var/cache/apk/* RUN curl -L https://github.com/AGWA/git-crypt/archive/$VERSION.tar.gz | tar zxv -C /var/tmp -RUN cd /var/tmp/git-crypt-$VERSION && make && make install PREFIX=/usr/local +RUN cd /var/tmp/git-crypt-$VERSION && CXXFLAGS='-DOPENSSL_API_COMPAT=0x30000000L' make && make install PREFIX=/usr/local WORKDIR /repo VOLUME /repo