From 1fc22a33144ce657fae70712cce9380350e02418 Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Fri, 6 Dec 2024 11:58:25 +0100 Subject: [PATCH] test: use ADD for ejabberd test Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com> --- test/dockerfiles/ejabberd/Dockerfile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/test/dockerfiles/ejabberd/Dockerfile b/test/dockerfiles/ejabberd/Dockerfile index 4dce4f9d..6309b803 100644 --- a/test/dockerfiles/ejabberd/Dockerfile +++ b/test/dockerfiles/ejabberd/Dockerfile @@ -1,7 +1,4 @@ FROM alpine:3.15.4 AS build -ARG REPOSITORY=https://github.com/processone/ejabberd.git -#ARG VERSION=master -ARG VERSION=99d9e315a3c0524d84197e63741790d5893c51f4 RUN apk upgrade --update musl \ && apk add \ @@ -32,9 +29,9 @@ RUN mix local.hex --force \ WORKDIR ejabberd -RUN git clone $REPOSITORY . \ - && git checkout $VERSION \ - && mv .github/container/ejabberdctl.template . \ +ADD https://github.com/processone/ejabberd.git#99d9e315a3c0524d84197e63741790d5893c51f4 . + +RUN mv .github/container/ejabberdctl.template . \ && ./autogen.sh \ && ./configure --with-rebar=mix \ && make deps \