aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorMichael McVady <femtonaut@gmail.com>2022-03-30 01:28:46 -0500
committerMichael McVady <femtonaut@gmail.com>2022-03-30 01:28:46 -0500
commit3fd916fba580dfa81103f24f7f148c13342c44c1 (patch)
treebcaad3d6fe9da38f9f071b5426122394aefb718b /Dockerfile
parentc5371d7fe27b3368b53b34d614b160473d82658d (diff)
Bump kore version
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