Commit 90dada29 authored by Emmanuel Duchastenier's avatar Emmanuel Duchastenier
Browse files

Merge branch 'master' into 'dev'

parents 52cbb97d 3afb1809
......@@ -16,6 +16,8 @@ ENV BONITA_URL ${BONITA_URL:-${BASE_URL}/${BRANDING_VERSION}/BonitaCommunity-${B
ENV HTTP_API false
RUN echo "Downloading Bonita from url: ${BONITA_URL}"
ENV JATTACH_VERSION v2.0
# install packages
RUN apt-get update && apt-get install -y --no-install-recommends \
curl \
......@@ -36,13 +38,15 @@ RUN groupadd -r bonita -g 1000 \
FROM base as builder
# grab gosu
# grab gosu and jattach
RUN gpg --keyserver keyserver.ubuntu.com --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4 \
&& curl -fsSL "https://github.com/tianon/gosu/releases/download/1.13/gosu-$(dpkg --print-architecture)" -o /usr/local/bin/gosu \
&& curl -fsSL "https://github.com/tianon/gosu/releases/download/1.13/gosu-$(dpkg --print-architecture).asc" -o /usr/local/bin/gosu.asc \
&& gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu \
&& rm /usr/local/bin/gosu.asc \
&& chmod +x /usr/local/bin/gosu
&& chmod +x /usr/local/bin/gosu \
&& curl -fsSL https://github.com/apangin/jattach/releases/download/${JATTACH_VERSION}/jattach -o /usr/bin/jattach \
&& chmod +x /usr/bin/jattach
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment