aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile10
1 files changed, 6 insertions, 4 deletions
diff --git a/Dockerfile b/Dockerfile
index f128f48..2a849d0 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -9,6 +9,8 @@ RUN set -e \
COPY . /clog
+ARG KORE_VERSION=4.2.1
+
RUN set -e \
&& mkdir -p /var/chroot \
&& addgroup -g 502 kore \
@@ -22,14 +24,14 @@ RUN set -e \
postgresql-dev \
pkgconfig \
libpq \
- && wget https://kore.io/releases/kore-4.1.0.tar.gz \
- && tar zfvx kore-4.1.0.tar.gz \
- && cd kore-4.1.0 \
+ && wget https://kore.io/releases/kore-${KORE_VERSION}.tar.gz \
+ && tar zfvx kore-${KORE_VERSION}.tar.gz \
+ && cd kore-${KORE_VERSION} \
&& make clean \
&& make NOTLS=1 PGSQL=1 \
&& make install \
&& cd .. \
- && rm -rf kore-4.1.0* \
+ && rm -rf kore-${KORE_VERSION} \
&& cd /clog \
&& kodev build \
&& apk del .build-deps