Update VerneMQ release (#1593)

Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
This commit is contained in:
Dušan Borovčanin 2022-04-15 15:25:39 +02:00 committed by GitHub
parent f0dac5c6ac
commit ad80cf868b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -1,12 +1,12 @@
# Builder # Builder
FROM erlang:23.3.2-alpine AS builder FROM erlang:24.3.3.0-alpine AS builder
RUN apk add --update git build-base bsd-compat-headers openssl-dev snappy-dev curl \ RUN apk add --update git build-base bsd-compat-headers openssl-dev snappy-dev curl \
&& git clone -b 1.12.3 https://github.com/vernemq/vernemq \ && git clone -b 1.12.5 https://github.com/vernemq/vernemq \
&& cd vernemq \ && cd vernemq \
&& make -j 16 rel && make -j 16 rel
# Executor # Executor
FROM alpine:3.9 FROM alpine:3.13
COPY --from=builder /vernemq/_build/default/rel / COPY --from=builder /vernemq/_build/default/rel /
@ -20,7 +20,7 @@ RUN apk --no-cache --update --available upgrade && \
ENV DOCKER_VERNEMQ_KUBERNETES_LABEL_SELECTOR="app=vernemq" \ ENV DOCKER_VERNEMQ_KUBERNETES_LABEL_SELECTOR="app=vernemq" \
DOCKER_VERNEMQ_LOG__CONSOLE=console \ DOCKER_VERNEMQ_LOG__CONSOLE=console \
PATH="/vernemq/bin:$PATH" \ PATH="/vernemq/bin:$PATH" \
VERNEMQ_VERSION="1.11.1" VERNEMQ_VERSION="1.12.5"
WORKDIR /vernemq WORKDIR /vernemq