mirror of
https://github.com/zokradonh/kopano-docker
synced 2025-06-07 07:56:12 +00:00
update konnect (#299)
* update konnect to 0.28.0 * make signing_method configurable * instruct npm to run with unsafe permissions (fixes error on jenkins) * https://github.com/npm/npm/issues/20861
This commit is contained in:
parent
7eab9c7c06
commit
4f8af8f86f
@ -1,4 +1,4 @@
|
||||
FROM docker:18.09.6
|
||||
FROM docker:18.09
|
||||
ENV \
|
||||
COMMANDER_VERSION=1.2.1 \
|
||||
COMPOSE_VERSION=1.19.0 \
|
||||
@ -26,6 +26,7 @@ RUN curl -fSL "https://github.com/genuinetools/reg/releases/download/v$REG_VERSI
|
||||
curl -fSL "https://github.com/SimonBaeumer/commander/releases/download/v$COMMANDER_VERSION/commander-linux-amd64" -o /usr/local/bin/commander && \
|
||||
curl -fSL "https://raw.githubusercontent.com/fbartels/dccommander/master/dccommander" -o /usr/local/bin/dccommander && \
|
||||
pip install yamllint==1.19.0 && \
|
||||
npm config set unsafe-perm true && \
|
||||
npm install -g eclint@2.8.1 && \
|
||||
chmod a+x /usr/local/bin/*
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
ARG CODE_VERSION=0.26.0
|
||||
ARG CODE_VERSION=0.28.0
|
||||
FROM kopano/konnectd:${CODE_VERSION}
|
||||
|
||||
ARG VCS_REF
|
||||
|
@ -122,6 +122,11 @@ if [ -n "${uri_base_path:-}" ]; then
|
||||
set -- "$@" --uri-base-path="$uri_base_path"
|
||||
fi
|
||||
|
||||
if [ -n "${signing_method:-}" ]; then
|
||||
echo "Entrypoint: Setting signing_method to $signing_method"
|
||||
set -- "$@" --signing-method="$signing_method"
|
||||
fi
|
||||
|
||||
if [ "${insecure:-}" = "yes" ]; then
|
||||
echo "Entrypoint: running Konnect in insecure mode"
|
||||
set -- "$@" "--insecure"
|
||||
|
Loading…
x
Reference in New Issue
Block a user